-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #40 from WoutervanderLoopNL/develop-finalize-v10
Finalize v10 API
- Loading branch information
Showing
27 changed files
with
1,420 additions
and
2,355 deletions.
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
Large diffs are not rendered by default.
Oops, something went wrong.
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,11 @@ | ||
<?php | ||
|
||
namespace Picqer\BolRetailerV10\Enum; | ||
|
||
// This class is auto generated by OpenApi\ModelGenerator | ||
enum InvoiceRequestsBillingDetailsSalutation: string | ||
{ | ||
case MALE = 'MALE'; | ||
case FEMALE = 'FEMALE'; | ||
case UNKNOWN = 'UNKNOWN'; | ||
} |
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
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,95 @@ | ||
<?php | ||
|
||
namespace Picqer\BolRetailerV10\Model; | ||
|
||
use Picqer\BolRetailerV10\Enum; | ||
|
||
// This class is auto generated by OpenApi\ModelGenerator | ||
class InvoiceRequestsBillingDetails extends AbstractModel | ||
{ | ||
/** | ||
* Returns the definition of the model: an associative array with field names as key and | ||
* field definition as value. The field definition contains of | ||
* model: Model class or null if it is a scalar type | ||
* array: Boolean whether it is an array | ||
* @return array The model definition | ||
*/ | ||
public function getModelDefinition(): array | ||
{ | ||
return [ | ||
'salutation' => [ 'model' => null, 'enum' => Enum\InvoiceRequestsBillingDetailsSalutation::class, 'array' => false ], | ||
'firstName' => [ 'model' => null, 'enum' => null, 'array' => false ], | ||
'surname' => [ 'model' => null, 'enum' => null, 'array' => false ], | ||
'streetName' => [ 'model' => null, 'enum' => null, 'array' => false ], | ||
'houseNumber' => [ 'model' => null, 'enum' => null, 'array' => false ], | ||
'houseNumberExtension' => [ 'model' => null, 'enum' => null, 'array' => false ], | ||
'zipCode' => [ 'model' => null, 'enum' => null, 'array' => false ], | ||
'city' => [ 'model' => null, 'enum' => null, 'array' => false ], | ||
'countryCode' => [ 'model' => null, 'enum' => null, 'array' => false ], | ||
'company' => [ 'model' => null, 'enum' => null, 'array' => false ], | ||
'vatNumber' => [ 'model' => null, 'enum' => null, 'array' => false ], | ||
'kvkNumber' => [ 'model' => null, 'enum' => null, 'array' => false ], | ||
]; | ||
} | ||
|
||
/** | ||
* @var Enum\InvoiceRequestsBillingDetailsSalutation The salutation of the customer. | ||
*/ | ||
public $salutation; | ||
|
||
/** | ||
* @var string The first name of the customer. | ||
*/ | ||
public $firstName; | ||
|
||
/** | ||
* @var string The surname of the customer. | ||
*/ | ||
public $surname; | ||
|
||
/** | ||
* @var string The street name. | ||
*/ | ||
public $streetName; | ||
|
||
/** | ||
* @var string The house number. | ||
*/ | ||
public $houseNumber; | ||
|
||
/** | ||
* @var string The extension on the house number. | ||
*/ | ||
public $houseNumberExtension; | ||
|
||
/** | ||
* @var string The ZIP code in '1234AB' format for NL orders and '0000' format for BE orders. | ||
*/ | ||
public $zipCode; | ||
|
||
/** | ||
* @var string The name of the city. | ||
*/ | ||
public $city; | ||
|
||
/** | ||
* @var string The country code. | ||
*/ | ||
public $countryCode; | ||
|
||
/** | ||
* @var string The company name. | ||
*/ | ||
public $company; | ||
|
||
/** | ||
* @var string The Value Added Tax (VAT) / BTW number for business sellers situated in the Netherlands. | ||
*/ | ||
public $vatNumber; | ||
|
||
/** | ||
* @var string The Kamer van Koophandel (KvK) number for organizations situated in the Netherlands or | ||
* ondernemingsnummer for organizations situated in Belgium. | ||
*/ | ||
public $kvkNumber; | ||
} |
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,40 @@ | ||
<?php | ||
|
||
namespace Picqer\BolRetailerV10\Model; | ||
|
||
use Picqer\BolRetailerV10\Enum; | ||
|
||
// This class is auto generated by OpenApi\ModelGenerator | ||
class InvoiceRequestsProducts extends AbstractModel | ||
{ | ||
/** | ||
* Returns the definition of the model: an associative array with field names as key and | ||
* field definition as value. The field definition contains of | ||
* model: Model class or null if it is a scalar type | ||
* array: Boolean whether it is an array | ||
* @return array The model definition | ||
*/ | ||
public function getModelDefinition(): array | ||
{ | ||
return [ | ||
'description' => [ 'model' => null, 'enum' => null, 'array' => false ], | ||
'quantity' => [ 'model' => null, 'enum' => null, 'array' => false ], | ||
'unitPrice' => [ 'model' => null, 'enum' => null, 'array' => false ], | ||
]; | ||
} | ||
|
||
/** | ||
* @var string The description of the ordered product. | ||
*/ | ||
public $description; | ||
|
||
/** | ||
* @var int Amount of the product being ordered. | ||
*/ | ||
public $quantity; | ||
|
||
/** | ||
* @var float The selling price to the customer of a single unit including VAT. | ||
*/ | ||
public $unitPrice; | ||
} |
Oops, something went wrong.