Orderinvoices
class Orderinvoices extends Resource (View source)
The "orderinvoices" collection of methods.
Typical usage is:
$contentService = new Google\Service\ShoppingContent(...);
$orderinvoices = $contentService->orderinvoices;
Methods
Creates a charge invoice for a shipment group, and triggers a charge capture for orderinvoice enabled orders. (orderinvoices.createchargeinvoice)
Creates a refund invoice for one or more shipment groups, and triggers a
refund for orderinvoice enabled orders. This can only be used for line items
that have previously been charged using createChargeInvoice
. All amounts
(except for the summary) are incremental with respect to the previous
invoice. (orderinvoices.createrefundinvoice)
Details
OrderinvoicesCreateChargeInvoiceResponse
createchargeinvoice(string $merchantId, string $orderId, OrderinvoicesCreateChargeInvoiceRequest $postBody, array $optParams = [])
Creates a charge invoice for a shipment group, and triggers a charge capture for orderinvoice enabled orders. (orderinvoices.createchargeinvoice)
OrderinvoicesCreateRefundInvoiceResponse
createrefundinvoice(string $merchantId, string $orderId, OrderinvoicesCreateRefundInvoiceRequest $postBody, array $optParams = [])
Creates a refund invoice for one or more shipment groups, and triggers a
refund for orderinvoice enabled orders. This can only be used for line items
that have previously been charged using createChargeInvoice
. All amounts
(except for the summary) are incremental with respect to the previous
invoice. (orderinvoices.createrefundinvoice)