<?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-payments-api-model/vendorDirectFulfillmentPaymentsV1.json
|
* Source MD5 signature: a139f5f5cd8dd2d7d783526a74171a28
|
*
|
*
|
* Selling Partner API for Direct Fulfillment Payments
|
* The Selling Partner API for Direct Fulfillment Payments provides programmatic access to a direct fulfillment vendor's invoice data.
|
*/
|
namespace DoubleBreak\Spapi\Api;
|
use DoubleBreak\Spapi\Client;
|
|
class VendorDirectFulfillmentPayments extends Client {
|
|
/**
|
* Operation submitInvoice
|
*
|
*/
|
public function submitInvoice($body = [])
|
{
|
return $this->send("/vendor/directFulfillment/payments/v1/invoices", [
|
'method' => 'POST',
|
'json' => $body
|
]);
|
}
|
|
public function submitInvoiceAsync($body = [])
|
{
|
return $this->sendAsync("/vendor/directFulfillment/payments/v1/invoices", [
|
'method' => 'POST',
|
'json' => $body
|
]);
|
}
|
}
|