Skip to content

Commit 9a85060

Browse files
committed
Regenerate from latest upstream models
1 parent ea71b59 commit 9a85060

File tree

6 files changed

+40
-36
lines changed

6 files changed

+40
-36
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ If you've found any of my packages useful, please consider [becoming a Sponsor](
4242
4343
## Features
4444

45-
* Supports all Selling Partner API operations (for Sellers and Vendors) as of 4/2/2025
45+
* Supports all Selling Partner API operations (for Sellers and Vendors) as of 5/5/2025
4646
* Automatically generates Restricted Data Tokens for all calls that require them -- no extra calls to the Tokens API needed
4747
* Includes a [`Document` helper class](#uploading-and-downloading-documents) for uploading and downloading feed/report documents
4848
* Can handle the end-to-end OAuth flow, from building authorization URLs to converting authorization codes into refresh tokens

resources/models/raw/seller/finances/v2024-06-19.json

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@
352352
},
353353
"transactionStatus": {
354354
"type": "string",
355-
"description": "The status for the transaction. \n\nPossible values:\n\n* Deferred *Released"
355+
"description": "The status of the transaction.\n\n**Possible values:**\n\n* `DEFERRED`: the transaction is currently deferred.\n* `RELEASED`: the transaction is currently released.\n* `DEFERRED_RELEASED`: the transaction was deferred in the past, but is now released. Deferred transactions will have their status updated to `DEFERRED_RELEASED` when released."
356356
},
357357
"description": {
358358
"type": "string",
@@ -525,7 +525,9 @@
525525
"REFUND_ID",
526526
"INVOICE_ID",
527527
"DISBURSEMENT_ID",
528-
"TRANSFER_ID"
528+
"TRANSFER_ID",
529+
"DEFERRED_TRANSACTION_ID",
530+
"RELEASE_TRANSACTION_ID"
529531
],
530532
"x-docgen-enum-table-extension": [
531533
{
@@ -554,7 +556,15 @@
554556
},
555557
{
556558
"value": "TRANSFER_ID",
557-
"description": "Associated TransferId of transaction"
559+
"description": "The `TransferId` associated with the transaction."
560+
},
561+
{
562+
"value": "DEFERRED_TRANSACTION_ID",
563+
"description": "The transaction ID for the related deferred transaction"
564+
},
565+
{
566+
"value": "RELEASE_TRANSACTION_ID",
567+
"description": "The transaction ID for the related released transaction"
558568
}
559569
]
560570
},
@@ -818,21 +828,16 @@
818828
"properties": {
819829
"deferralReason": {
820830
"type": "string",
821-
"description": "Deferral policy applied on the transaction.\n\nExample: 'B2B','DD7'"
831+
"description": "The deferral policy applied to the transaction.\n\n**Examples:** `B2B` (invoiced orders), `DD7` (delivery date policy)"
822832
},
823833
"maturityDate": {
824834
"$ref": "#/components/schemas/Date"
825-
},
826-
"deferralStatus": {
827-
"type": "string",
828-
"description": "Status of the transaction. \n\nExample: 'HOLD','RELEASE'"
829835
}
830836
},
831837
"description": "Additional information related to Deferred transactions.",
832838
"example": {
833839
"deferralReason": "B2B",
834-
"maturityDate": "2024-07-14T00:00:00Z",
835-
"deferralStatus": "HOLD"
840+
"maturityDate": "2024-07-14T00:00:00Z"
836841
}
837842
},
838843
"TimeRangeContext": {

resources/models/seller/finances/v2024-06-19.json

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@
355355
},
356356
"transactionStatus": {
357357
"type": "string",
358-
"description": "The status for the transaction. \n\nPossible values:\n\n* Deferred *Released"
358+
"description": "The status of the transaction.\n\n**Possible values:**\n\n* `DEFERRED`: the transaction is currently deferred.\n* `RELEASED`: the transaction is currently released.\n* `DEFERRED_RELEASED`: the transaction was deferred in the past, but is now released. Deferred transactions will have their status updated to `DEFERRED_RELEASED` when released."
359359
},
360360
"description": {
361361
"type": "string",
@@ -528,7 +528,9 @@
528528
"REFUND_ID",
529529
"INVOICE_ID",
530530
"DISBURSEMENT_ID",
531-
"TRANSFER_ID"
531+
"TRANSFER_ID",
532+
"DEFERRED_TRANSACTION_ID",
533+
"RELEASE_TRANSACTION_ID"
532534
],
533535
"x-docgen-enum-table-extension": [
534536
{
@@ -557,7 +559,15 @@
557559
},
558560
{
559561
"value": "TRANSFER_ID",
560-
"description": "Associated TransferId of transaction"
562+
"description": "The `TransferId` associated with the transaction."
563+
},
564+
{
565+
"value": "DEFERRED_TRANSACTION_ID",
566+
"description": "The transaction ID for the related deferred transaction"
567+
},
568+
{
569+
"value": "RELEASE_TRANSACTION_ID",
570+
"description": "The transaction ID for the related released transaction"
561571
}
562572
]
563573
},
@@ -821,21 +831,16 @@
821831
"properties": {
822832
"deferralReason": {
823833
"type": "string",
824-
"description": "Deferral policy applied on the transaction.\n\nExample: 'B2B','DD7'"
834+
"description": "The deferral policy applied to the transaction.\n\n**Examples:** `B2B` (invoiced orders), `DD7` (delivery date policy)"
825835
},
826836
"maturityDate": {
827837
"$ref": "#/components/schemas/Date"
828-
},
829-
"deferralStatus": {
830-
"type": "string",
831-
"description": "Status of the transaction. \n\nExample: 'HOLD','RELEASE'"
832838
}
833839
},
834840
"description": "Additional information related to Deferred transactions.",
835841
"example": {
836842
"deferralReason": "B2B",
837-
"maturityDate": "2024-07-14T00:00:00Z",
838-
"deferralStatus": "HOLD"
843+
"maturityDate": "2024-07-14T00:00:00Z"
839844
}
840845
},
841846
"TimeRangeContext": {

src/Seller/FinancesV20240619/Dto/Context.php

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,10 @@ final class Context extends Dto
2626
* @param ?string $paymentMethod Method of payment made.
2727
* @param ?string $paymentReference Reference number of payment made.
2828
* @param ?\DateTimeInterface $paymentDate Fields with a schema type of date are in ISO 8601 date time format (for example GroupBeginDate).
29-
* @param ?string $deferralReason Deferral policy applied on the transaction.
29+
* @param ?string $deferralReason The deferral policy applied to the transaction.
3030
*
31-
* Example: 'B2B','DD7'
31+
* **Examples:** `B2B` (invoiced orders), `DD7` (delivery date policy)
3232
* @param ?\DateTimeInterface $maturityDate Fields with a schema type of date are in ISO 8601 date time format (for example GroupBeginDate).
33-
* @param ?string $deferralStatus Status of the transaction.
34-
*
35-
* Example: 'HOLD','RELEASE'
3633
* @param ?\DateTimeInterface $startTime Fields with a schema type of date are in ISO 8601 date time format (for example GroupBeginDate).
3734
* @param ?\DateTimeInterface $endTime Fields with a schema type of date are in ISO 8601 date time format (for example GroupBeginDate).
3835
*/
@@ -51,7 +48,6 @@ public function __construct(
5148
public ?\DateTimeInterface $paymentDate = null,
5249
public ?string $deferralReason = null,
5350
public ?\DateTimeInterface $maturityDate = null,
54-
public ?string $deferralStatus = null,
5551
public ?\DateTimeInterface $startTime = null,
5652
public ?\DateTimeInterface $endTime = null,
5753
) {}

src/Seller/FinancesV20240619/Dto/DeferredContext.php

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,13 @@
1515
final class DeferredContext extends Dto
1616
{
1717
/**
18-
* @param ?string $deferralReason Deferral policy applied on the transaction.
18+
* @param ?string $deferralReason The deferral policy applied to the transaction.
1919
*
20-
* Example: 'B2B','DD7'
20+
* **Examples:** `B2B` (invoiced orders), `DD7` (delivery date policy)
2121
* @param ?\DateTimeInterface $maturityDate Fields with a schema type of date are in ISO 8601 date time format (for example GroupBeginDate).
22-
* @param ?string $deferralStatus Status of the transaction.
23-
*
24-
* Example: 'HOLD','RELEASE'
2522
*/
2623
public function __construct(
2724
public ?string $deferralReason = null,
2825
public ?\DateTimeInterface $maturityDate = null,
29-
public ?string $deferralStatus = null,
3026
) {}
3127
}

src/Seller/FinancesV20240619/Dto/Transaction.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,13 @@ final class Transaction extends Dto
3030
*
3131
* * Shipment
3232
* @param ?string $transactionId The unique identifier for the transaction.
33-
* @param ?string $transactionStatus The status for the transaction.
33+
* @param ?string $transactionStatus The status of the transaction.
3434
*
35-
* Possible values:
35+
* **Possible values:**
3636
*
37-
* * Deferred *Released
37+
* * `DEFERRED`: the transaction is currently deferred.
38+
* * `RELEASED`: the transaction is currently released.
39+
* * `DEFERRED_RELEASED`: the transaction was deferred in the past, but is now released. Deferred transactions will have their status updated to `DEFERRED_RELEASED` when released.
3840
* @param ?string $description Describes the reasons for the transaction.
3941
*
4042
* Example: 'Order Payment','Refund Order'

0 commit comments

Comments
 (0)