Skip to content

Commit

Permalink
stabilization
Browse files Browse the repository at this point in the history
  • Loading branch information
siarheipashkevich committed Feb 18, 2021
1 parent 30b3ee8 commit ab38a24
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 27 deletions.
2 changes: 1 addition & 1 deletion src/Resources/Category.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class Category extends Resource
*
* @var string
*/
public string $color = 'GREY';
public string $color;

/**
* The time when this resource was created.
Expand Down
46 changes: 23 additions & 23 deletions src/Resources/Supplier.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,79 +26,79 @@ class Supplier extends Resource
/**
* The supplier contact person name.
*
* @var string
* @var string|null
*/
public string $contact;
public ?string $contact;

/**
* The supplier email.
*
* @var string
* @var string|null
*/
public string $email;
public ?string $email;

/**
* The supplier phone number.
*
* @var string
* @var string|null
*/
public string $phoneNumber;
public ?string $phoneNumber;

/**
* The supplier website page.
*
* @var string
* @var string|null
*/
public string $website;
public ?string $website;

/**
* The supplier address.
*
* @var string
* @var string|null
*/
public string $address1;
public ?string $address1;

/**
* The supplier address.
*
* @var string
* @var string|null
*/
public string $address2;
public ?string $address2;

/**
* The supplier city, town, or village.
*
* @var string
* @var string|null
*/
public string $city;
public ?string $city;

/**
* The supplier’s region name. Typically a province, a state, or a prefecture..
*
* @var string
* @var string|null
*/
public string $region;
public ?string $region;

/**
* The supplier’s postal code, also known as zip, postcode, Eircode, etc..
* The supplier’s postal code, also known as zip, postcode, Eircode, etc.
*
* @var string
* @var string|null
*/
public string $postalCode;
public ?string $postalCode;

/**
* The two-letter country code corresponding to the supplier country in ISO 3166-1-alpha-2 format.
*
* @var string
* @var string|null
*/
public string $countryCode;
public ?string $countryCode;

/**
* The note about the customer.
*
* @var string
* @var string|null
*/
public string $note;
public ?string $note;

/**
* The time when this resource was created.
Expand Down
6 changes: 3 additions & 3 deletions src/Resources/Variant.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class Variant extends Resource
*
* @var float
*/
public float $cost = 0;
public float $cost;

/**
* The variant purchase cost.
Expand All @@ -86,14 +86,14 @@ class Variant extends Resource
*
* @var string
*/
public string $defaultPricingType = 'VARIABLE';
public string $defaultPricingType;

/**
* The default variant price (only for pricing_type: FIXED).
*
* @var float|null
*/
public ?float $defaultPrice = null;
public ?float $defaultPrice;

/**
* The list of values that are unique for each store.
Expand Down

0 comments on commit ab38a24

Please sign in to comment.