-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new
createTaxQuote()
method (#165)
- Loading branch information
Showing
4 changed files
with
71 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
<?php | ||
|
||
return [ | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Operations | ||
|-------------------------------------------------------------------------- | ||
| | ||
| This array of operations is translated into methods that complete these | ||
| requests based on their configuration. | ||
| | ||
*/ | ||
|
||
'operations' => [ | ||
|
||
/** | ||
* Tax Quotes / Create | ||
*/ | ||
'createTaxQuote' => [ | ||
'extends' => null, | ||
'httpMethod' => 'POST', | ||
'uri' => '/v9/tax_quotes', | ||
'summary' => 'Create a tax quote.', | ||
'notes' => '', | ||
'documentationUrl' => 'https://ticketevolution.atlassian.net/wiki/spaces/API/pages/2898427919/WIP+Tax+Quotes+Create', | ||
'deprecated' => false, | ||
'responseModel' => 'defaultJsonResponse', | ||
'parameters' => [ | ||
'price' => [ | ||
'location' => 'json', | ||
'type' => 'numeric', | ||
'description' => 'The price the customer will be charged for each individual ticket.', | ||
'required' => true, | ||
], | ||
'quantity' => [ | ||
'location' => 'json', | ||
'type' => 'integer', | ||
'description' => 'The number of tickets the customer is purchasing.', | ||
'required' => true, | ||
], | ||
'ticket_group_id' => [ | ||
'location' => 'json', | ||
'type' => 'integer', | ||
'description' => 'The ID of the ticket group from which the customer is purchasing.', | ||
'required' => true, | ||
], | ||
], | ||
'additionalParameters' => ['location' => 'json'], | ||
], | ||
|
||
|
||
], | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Models | ||
|-------------------------------------------------------------------------- | ||
| | ||
| This array of models is specifications to returning the response | ||
| from the operation methods. | ||
| | ||
*/ | ||
|
||
'models' => [], | ||
]; |