Skip to content

Commit

Permalink
Add missing TaxCollectionModel and ResponsibleParty enum values (#540)
Browse files Browse the repository at this point in the history
  • Loading branch information
jlevers committed May 16, 2023
1 parent 4de2f68 commit 69bc222
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions lib/Model/OrdersV0/TaxCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,11 @@ class TaxCollection extends BaseModel implements ModelInterface, ArrayAccess, \J


const MODEL_MARKETPLACE_FACILITATOR = 'MarketplaceFacilitator';
const MODEL_LOW_VALUE_GOODS = 'LowValueGoods';


const RESPONSIBLE_PARTY_AMAZON_SERVICES_INC = 'Amazon Services, Inc.';
const RESPONSIBLE_PARTY_SERVICES_INC = 'Amazon Services, Inc.';
const RESPONSIBLE_PARTY_COMMERCIAL_SERVICES_PTY_LTD = 'Amazon Commercial Services Pty Ltd';



Expand All @@ -126,6 +128,7 @@ public function getModelAllowableValues()
{
$baseVals = [
self::MODEL_MARKETPLACE_FACILITATOR,
self::MODEL_LOW_VALUE_GOODS,
];

// This is necessary because Amazon does not consistently capitalize their
Expand All @@ -142,7 +145,8 @@ public function getModelAllowableValues()
public function getResponsiblePartyAllowableValues()
{
$baseVals = [
self::RESPONSIBLE_PARTY_AMAZON_SERVICES_INC,
self::RESPONSIBLE_PARTY_SERVICES_INC,
self::RESPONSIBLE_PARTY_COMMERCIAL_SERVICES_PTY_LTD,
];

// This is necessary because Amazon does not consistently capitalize their
Expand Down

0 comments on commit 69bc222

Please sign in to comment.