chengkun
2025-09-15 3c9050e82e582414dc7b208c8283fe47be37eeba
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?php
/**
* This class is autogenerated by the Spapi class generator
* Date of generation: 2022-05-26
* Specification: https://github.com/amzn/selling-partner-api-models/blob/main/models/vendor-transaction-status-api-model/vendorTransactionStatus.json
* Source MD5 signature: 15629a3701527e4a05ddbf600dae33fc
*
*
* Selling Partner API for Retail Procurement Transaction Status
* The Selling Partner API for Retail Procurement Transaction Status provides programmatic access to status information on specific asynchronous POST transactions for vendors.
*/
namespace DoubleBreak\Spapi\Api;
use DoubleBreak\Spapi\Client;
 
class VendorTransactionStatus extends Client {
 
  /**
  * Operation getTransaction
  *
  * @param string $transactionId The GUID provided by Amazon in the 'transactionId' field in response to the post request of a specific transaction.
  *
  */
  public function getTransaction($transactionId)
  {
    return $this->send("/vendor/transactions/v1/transactions/{$transactionId}", [
      'method' => 'GET',
    ]);
  }
 
  public function getTransactionAsync($transactionId)
  {
    return $this->sendAsync("/vendor/transactions/v1/transactions/{$transactionId}", [
      'method' => 'GET',
    ]);
  }
}