chengkun
2025-09-12 b21e53f16f228d3192eb54178f081395878b2406
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<?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-direct-fulfillment-transactions-api-model/vendorDirectFulfillmentTransactions_2021-12-28.json
* Source MD5 signature: 524c60fa23d3e605132bf963cbc03f29
*
*
* Selling Partner API for Direct Fulfillment Transaction Status
* The Selling Partner API for Direct Fulfillment Transaction Status provides programmatic access to a direct fulfillment vendor's transaction status.
*/
namespace DoubleBreak\Spapi\Api;
use DoubleBreak\Spapi\Client;
 
class VendorDirectFulfillmentTransactions extends Client {
 
  /**
  * Operation getTransactionStatus
  *
  * @param string $transactionId Previously returned in the response to the POST request of a specific transaction.
  *
  */
  public function getTransactionStatus($transactionId)
  {
    return $this->send("/vendor/directFulfillment/transactions/2021-12-28/transactions/{$transactionId}", [
      'method' => 'GET',
    ]);
  }
 
  public function getTransactionStatusAsync($transactionId)
  {
    return $this->sendAsync("/vendor/directFulfillment/transactions/2021-12-28/transactions/{$transactionId}", [
      'method' => 'GET',
    ]);
  }
 
  /**
  * Operation 
  *
  */
  public function ()
  {
    return $this->send("/vendor/directFulfillment/transactions/2021-12-28/transactions/{transactionId}", [
      'method' => 'X-AMZN-API-SANDBOX',
    ]);
  }
 
  public function Async()
  {
    return $this->sendAsync("/vendor/directFulfillment/transactions/2021-12-28/transactions/{transactionId}", [
      'method' => 'X-AMZN-API-SANDBOX',
    ]);
  }
}