Class OrderinvoicesResource
The "orderinvoices" collection of methods.
Inheritance
System.Object
OrderinvoicesResource
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.ShoppingContent.v2
Assembly: Google.Apis.ShoppingContent.v2.dll
Syntax
public class OrderinvoicesResource
Constructors
OrderinvoicesResource(IClientService)
Constructs a new resource.
Declaration
public OrderinvoicesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
Google.Apis.Services.IClientService | service |
Methods
Createchargeinvoice(OrderinvoicesCreateChargeInvoiceRequest, UInt64, String)
Creates a charge invoice for a shipment group, and triggers a charge capture for orderinvoice enabled orders.
Declaration
public virtual OrderinvoicesResource.CreatechargeinvoiceRequest Createchargeinvoice(OrderinvoicesCreateChargeInvoiceRequest body, ulong merchantId, string orderId)
Parameters
Type | Name | Description |
---|---|---|
OrderinvoicesCreateChargeInvoiceRequest | body | The body of the request. |
System.UInt64 | merchantId | The ID of the account that manages the order. This cannot be a multi-client account. |
System.String | orderId | The ID of the order. |
Returns
Type | Description |
---|---|
OrderinvoicesResource.CreatechargeinvoiceRequest |
Createrefundinvoice(OrderinvoicesCreateRefundInvoiceRequest, UInt64, String)
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.
Declaration
public virtual OrderinvoicesResource.CreaterefundinvoiceRequest Createrefundinvoice(OrderinvoicesCreateRefundInvoiceRequest body, ulong merchantId, string orderId)
Parameters
Type | Name | Description |
---|---|---|
OrderinvoicesCreateRefundInvoiceRequest | body | The body of the request. |
System.UInt64 | merchantId | The ID of the account that manages the order. This cannot be a multi-client account. |
System.String | orderId | The ID of the order. |
Returns
Type | Description |
---|---|
OrderinvoicesResource.CreaterefundinvoiceRequest |