chengkun
2025-06-05 4080b5997b38ca84b3b203c7101dcadb97b76925
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-invoices-api-model/vendorInvoices.json
* Source MD5 signature: 971d3f0d56ddb378d5eddbc92da6337b
*
*
* Selling Partner API for Retail Procurement Payments
* The Selling Partner API for Retail Procurement Payments provides programmatic access to vendors payments data.
*/
namespace DoubleBreak\Spapi\Api;
use DoubleBreak\Spapi\Client;
 
class VendorInvoices extends Client {
 
  /**
  * Operation submitInvoices
  *
  */
  public function submitInvoices($body = [])
  {
    return $this->send("/vendor/payments/v1/invoices", [
      'method' => 'POST',
      'json' => $body
    ]);
  }
 
  public function submitInvoicesAsync($body = [])
  {
    return $this->sendAsync("/vendor/payments/v1/invoices", [
      'method' => 'POST',
      'json' => $body
    ]);
  }
}