{"action":"opened","issue":{"url":"https://api.github.com/repos/hotelbeds-sdk/hotel-api-sdk-php/issues/46","repository_url":"https://api.github.com/repos/hotelbeds-sdk/hotel-api-sdk-php","labels_url":"https://api.github.com/repos/hotelbeds-sdk/hotel-api-sdk-php/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/hotelbeds-sdk/hotel-api-sdk-php/issues/46/comments","events_url":"https://api.github.com/repos/hotelbeds-sdk/hotel-api-sdk-php/issues/46/events","html_url":"https://github.com/hotelbeds-sdk/hotel-api-sdk-php/issues/46","id":179968385,"number":46,"title":"Get no classes in model to add PaymentCard and ContactData information in \"Booking Request\"","user":{"login":"CoreJADeveloper","id":3908949,"avatar_url":"https://avatars.githubusercontent.com/u/3908949?v=3","gravatar_id":"","url":"https://api.github.com/users/CoreJADeveloper","html_url":"https://github.com/CoreJADeveloper","followers_url":"https://api.github.com/users/CoreJADeveloper/followers","following_url":"https://api.github.com/users/CoreJADeveloper/following{/other_user}","gists_url":"https://api.github.com/users/CoreJADeveloper/gists{/gist_id}","starred_url":"https://api.github.com/users/CoreJADeveloper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CoreJADeveloper/subscriptions","organizations_url":"https://api.github.com/users/CoreJADeveloper/orgs","repos_url":"https://api.github.com/users/CoreJADeveloper/repos","events_url":"https://api.github.com/users/CoreJADeveloper/events{/privacy}","received_events_url":"https://api.github.com/users/CoreJADeveloper/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-29T07:04:48Z","updated_at":"2016-09-29T07:04:48Z","closed_at":null,"body":"Hi!\r\n\r\nCurrently, I am making request to confirm booking a room. I see in helper there is a class file name Booking.php which handles `bookingRQ`. In model `PaymentData` class works with two validfields -\r\n\r\n```\r\nclass PaymentData extends ApiModel\r\n{\r\n    public function __construct()\r\n    {\r\n        $this->validFields = [\r\n            \"paymentCard\" => \"array\",\r\n            \"contactData\" => \"array\"\r\n        ];\r\n    }\r\n}\r\n```\r\n\r\nBut I can't see no model classes for these two validfields like the API handles `Tax, Pax etc`. So is there any other way to set these two validfields for `bookingRQ`?"}}
{"actor":{"display_login":"CoreJADeveloper"}}