Open jdnwi opened 1 year ago
Weird, according to the documentation it should be a required property: https://developers.google.com/wallet/tickets/events/rest/v1/eventticketclass#EventTicketClass
Is this an issue only for the GET
request?
Weird, according to the documentation it should be a required property: https://developers.google.com/wallet/tickets/events/rest/v1/eventticketclass#EventTicketClass Is this an issue only for the
GET
request?
Yes- it's only an issue in the GET request
I'm working with the Google Pass for EventTicketClass. After successfully creating a Class, I am later retrieving it via the Event Ticket Class Repository GET function. The retrieval is OK, but the conversion to the Class object fails due to class validation on the API response.
Here is a sample API response:
BaseRepository calls the
get
function and when it runsreturn new $class($response);
it throws a ValidationException with the message:The response does not include
issuerName
, butlocalizedIssuerName
. I believe this should be corrected to match the API's response.