Skip to content

Commit

Permalink
Added missing properties to the some resources
Browse files Browse the repository at this point in the history
  • Loading branch information
siarheipashkevich committed Sep 20, 2024
1 parent 2508470 commit 068d3ec
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Resources/Item.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,13 @@ class Item extends Resource
*/
public string $itemName;

/**
* The item description.
*
* @var string
*/
public string $description;

/**
* External reference id for the item.
*
Expand Down
7 changes: 7 additions & 0 deletions src/Resources/PaymentType.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@ class PaymentType extends Resource
*/
public string $type;

/**
* The list of store ids where this payment type is available.
*
* @var array
*/
public array $stores;

/**
* The time when this resource was created.
*
Expand Down
28 changes: 28 additions & 0 deletions src/Resources/Store.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,34 @@ class Store extends Resource
*/
public string $address;

/**
* The city of the store.
*
* @var string
*/
public string $city;

/**
* The state of the store.
*
* @var string
*/
public string $state;

/**
* The postal code of the store.
*
* @var string
*/
public string $postalCode;

/**
* The country of the store.
*
* @var string
*/
public string $country;

/**
* The phone number of the store.
*
Expand Down

0 comments on commit 068d3ec

Please sign in to comment.