Skip to content

Commit a36f2e0

Browse files
authored
Updated models 2021-09-20 (#70)
1 parent 744ed5c commit a36f2e0

File tree

11 files changed

+1459
-80
lines changed

11 files changed

+1459
-80
lines changed

src/AmazonPHP/SellingPartner/Model/Finances/FinancialEvents.php

Lines changed: 140 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,11 @@ class FinancialEvents implements \ArrayAccess, \JsonSerializable, ModelInterface
7979
'network_commingling_transaction_event_list' => '\AmazonPHP\SellingPartner\Model\Finances\NetworkComminglingTransactionEvent[]',
8080
'affordability_expense_event_list' => '\AmazonPHP\SellingPartner\Model\Finances\AffordabilityExpenseEvent[]',
8181
'affordability_expense_reversal_event_list' => '\AmazonPHP\SellingPartner\Model\Finances\AffordabilityExpenseEvent[]',
82+
'trial_shipment_event_list' => '\AmazonPHP\SellingPartner\Model\Finances\TrialShipmentEvent[]',
83+
'shipment_settle_event_list' => '\AmazonPHP\SellingPartner\Model\Finances\ShipmentEvent[]',
84+
'tax_withholding_event_list' => '\AmazonPHP\SellingPartner\Model\Finances\TaxWithholdingEvent[]',
85+
'removal_shipment_event_list' => '\AmazonPHP\SellingPartner\Model\Finances\RemovalShipmentEvent[]',
86+
'removal_shipment_adjustment_event_list' => '\AmazonPHP\SellingPartner\Model\Finances\RemovalShipmentAdjustmentEvent[]',
8287
];
8388

8489
/**
@@ -111,6 +116,11 @@ class FinancialEvents implements \ArrayAccess, \JsonSerializable, ModelInterface
111116
'network_commingling_transaction_event_list' => null,
112117
'affordability_expense_event_list' => null,
113118
'affordability_expense_reversal_event_list' => null,
119+
'trial_shipment_event_list' => null,
120+
'shipment_settle_event_list' => null,
121+
'tax_withholding_event_list' => null,
122+
'removal_shipment_event_list' => null,
123+
'removal_shipment_adjustment_event_list' => null,
114124
];
115125

116126
/**
@@ -142,6 +152,11 @@ class FinancialEvents implements \ArrayAccess, \JsonSerializable, ModelInterface
142152
'network_commingling_transaction_event_list' => 'NetworkComminglingTransactionEventList',
143153
'affordability_expense_event_list' => 'AffordabilityExpenseEventList',
144154
'affordability_expense_reversal_event_list' => 'AffordabilityExpenseReversalEventList',
155+
'trial_shipment_event_list' => 'TrialShipmentEventList',
156+
'shipment_settle_event_list' => 'ShipmentSettleEventList',
157+
'tax_withholding_event_list' => 'TaxWithholdingEventList',
158+
'removal_shipment_event_list' => 'RemovalShipmentEventList',
159+
'removal_shipment_adjustment_event_list' => 'RemovalShipmentAdjustmentEventList',
145160
];
146161

147162
/**
@@ -172,6 +187,11 @@ class FinancialEvents implements \ArrayAccess, \JsonSerializable, ModelInterface
172187
'network_commingling_transaction_event_list' => 'setNetworkComminglingTransactionEventList',
173188
'affordability_expense_event_list' => 'setAffordabilityExpenseEventList',
174189
'affordability_expense_reversal_event_list' => 'setAffordabilityExpenseReversalEventList',
190+
'trial_shipment_event_list' => 'setTrialShipmentEventList',
191+
'shipment_settle_event_list' => 'setShipmentSettleEventList',
192+
'tax_withholding_event_list' => 'setTaxWithholdingEventList',
193+
'removal_shipment_event_list' => 'setRemovalShipmentEventList',
194+
'removal_shipment_adjustment_event_list' => 'setRemovalShipmentAdjustmentEventList',
175195
];
176196

177197
/**
@@ -202,6 +222,11 @@ class FinancialEvents implements \ArrayAccess, \JsonSerializable, ModelInterface
202222
'network_commingling_transaction_event_list' => 'getNetworkComminglingTransactionEventList',
203223
'affordability_expense_event_list' => 'getAffordabilityExpenseEventList',
204224
'affordability_expense_reversal_event_list' => 'getAffordabilityExpenseReversalEventList',
225+
'trial_shipment_event_list' => 'getTrialShipmentEventList',
226+
'shipment_settle_event_list' => 'getShipmentSettleEventList',
227+
'tax_withholding_event_list' => 'getTaxWithholdingEventList',
228+
'removal_shipment_event_list' => 'getRemovalShipmentEventList',
229+
'removal_shipment_adjustment_event_list' => 'getRemovalShipmentAdjustmentEventList',
205230
];
206231

207232
/**
@@ -241,6 +266,11 @@ public function __construct(array $data = null)
241266
$this->container['network_commingling_transaction_event_list'] = $data['network_commingling_transaction_event_list'] ?? null;
242267
$this->container['affordability_expense_event_list'] = $data['affordability_expense_event_list'] ?? null;
243268
$this->container['affordability_expense_reversal_event_list'] = $data['affordability_expense_reversal_event_list'] ?? null;
269+
$this->container['trial_shipment_event_list'] = $data['trial_shipment_event_list'] ?? null;
270+
$this->container['shipment_settle_event_list'] = $data['shipment_settle_event_list'] ?? null;
271+
$this->container['tax_withholding_event_list'] = $data['tax_withholding_event_list'] ?? null;
272+
$this->container['removal_shipment_event_list'] = $data['removal_shipment_event_list'] ?? null;
273+
$this->container['removal_shipment_adjustment_event_list'] = $data['removal_shipment_adjustment_event_list'] ?? null;
244274
}
245275

246276
/**
@@ -818,6 +848,116 @@ public function setAffordabilityExpenseReversalEventList(?array $affordability_e
818848
return $this;
819849
}
820850

851+
/**
852+
* Gets trial_shipment_event_list.
853+
*
854+
* @return null|\AmazonPHP\SellingPartner\Model\Finances\TrialShipmentEvent[]
855+
*/
856+
public function getTrialShipmentEventList() : ?array
857+
{
858+
return $this->container['trial_shipment_event_list'];
859+
}
860+
861+
/**
862+
* Sets trial_shipment_event_list.
863+
*
864+
* @param null|\AmazonPHP\SellingPartner\Model\Finances\TrialShipmentEvent[] $trial_shipment_event_list a list of information about trial shipment financial events
865+
*/
866+
public function setTrialShipmentEventList(?array $trial_shipment_event_list) : self
867+
{
868+
$this->container['trial_shipment_event_list'] = $trial_shipment_event_list;
869+
870+
return $this;
871+
}
872+
873+
/**
874+
* Gets shipment_settle_event_list.
875+
*
876+
* @return null|\AmazonPHP\SellingPartner\Model\Finances\ShipmentEvent[]
877+
*/
878+
public function getShipmentSettleEventList() : ?array
879+
{
880+
return $this->container['shipment_settle_event_list'];
881+
}
882+
883+
/**
884+
* Sets shipment_settle_event_list.
885+
*
886+
* @param null|\AmazonPHP\SellingPartner\Model\Finances\ShipmentEvent[] $shipment_settle_event_list a list of information about shipment settle financial events
887+
*/
888+
public function setShipmentSettleEventList(?array $shipment_settle_event_list) : self
889+
{
890+
$this->container['shipment_settle_event_list'] = $shipment_settle_event_list;
891+
892+
return $this;
893+
}
894+
895+
/**
896+
* Gets tax_withholding_event_list.
897+
*
898+
* @return null|\AmazonPHP\SellingPartner\Model\Finances\TaxWithholdingEvent[]
899+
*/
900+
public function getTaxWithholdingEventList() : ?array
901+
{
902+
return $this->container['tax_withholding_event_list'];
903+
}
904+
905+
/**
906+
* Sets tax_withholding_event_list.
907+
*
908+
* @param null|\AmazonPHP\SellingPartner\Model\Finances\TaxWithholdingEvent[] $tax_withholding_event_list list of TaxWithholding events
909+
*/
910+
public function setTaxWithholdingEventList(?array $tax_withholding_event_list) : self
911+
{
912+
$this->container['tax_withholding_event_list'] = $tax_withholding_event_list;
913+
914+
return $this;
915+
}
916+
917+
/**
918+
* Gets removal_shipment_event_list.
919+
*
920+
* @return null|\AmazonPHP\SellingPartner\Model\Finances\RemovalShipmentEvent[]
921+
*/
922+
public function getRemovalShipmentEventList() : ?array
923+
{
924+
return $this->container['removal_shipment_event_list'];
925+
}
926+
927+
/**
928+
* Sets removal_shipment_event_list.
929+
*
930+
* @param null|\AmazonPHP\SellingPartner\Model\Finances\RemovalShipmentEvent[] $removal_shipment_event_list a list of removal shipment event information
931+
*/
932+
public function setRemovalShipmentEventList(?array $removal_shipment_event_list) : self
933+
{
934+
$this->container['removal_shipment_event_list'] = $removal_shipment_event_list;
935+
936+
return $this;
937+
}
938+
939+
/**
940+
* Gets removal_shipment_adjustment_event_list.
941+
*
942+
* @return null|\AmazonPHP\SellingPartner\Model\Finances\RemovalShipmentAdjustmentEvent[]
943+
*/
944+
public function getRemovalShipmentAdjustmentEventList() : ?array
945+
{
946+
return $this->container['removal_shipment_adjustment_event_list'];
947+
}
948+
949+
/**
950+
* Sets removal_shipment_adjustment_event_list.
951+
*
952+
* @param null|\AmazonPHP\SellingPartner\Model\Finances\RemovalShipmentAdjustmentEvent[] $removal_shipment_adjustment_event_list a comma-delimited list of Removal shipmentAdjustment details for FBA inventory
953+
*/
954+
public function setRemovalShipmentAdjustmentEventList(?array $removal_shipment_adjustment_event_list) : self
955+
{
956+
$this->container['removal_shipment_adjustment_event_list'] = $removal_shipment_adjustment_event_list;
957+
958+
return $this;
959+
}
960+
821961
/**
822962
* Returns true if offset exists. False otherwise.
823963
*

0 commit comments

Comments
 (0)