Class InvoiceOperations
java.lang.Object
com.microsoft.store.partnercenter.BasePartnerComponent<String>
com.microsoft.store.partnercenter.BasePartnerComponentString
com.microsoft.store.partnercenter.invoices.InvoiceOperations
- All Implemented Interfaces:
IEntityGetOperations<Invoice>,IInvoice,IPartnerComponent<String>,IPartnerComponentString
public class InvoiceOperations extends BasePartnerComponentString implements IInvoice
Implements the operations that can be performed on the reseller's invoice.
-
Constructor Summary
Constructors Constructor Description InvoiceOperations(IPartner rootPartnerOperations, String invoiceId)Initializes a new instance of the InvoiceOperations class. -
Method Summary
Modifier and Type Method Description IInvoiceLineItemCollectionby(BillingProvider billingProvider, InvoiceLineItemType invoiceLineItemType)Creates an invoice line item collection operation given a billing provider and invoice line item type.IReconciliationLineItemCollectionby(BillingProvider provider, InvoiceLineItemType invoiceLineItemType, String currencyCode, BillingPeriod period)Creates an invoice line item collection operations given a billing provider and invoice line item type.IReconciliationLineItemCollectionby(BillingProvider provider, InvoiceLineItemType invoiceLineItemType, String currencyCode, BillingPeriod period, int pageSize)Creates an invoice line item collection operations given a billing provider and invoice line item type.Invoiceget()Retrieves information about a specific invoice.IInvoiceDocumentsgetDocuments()Gets an invoice documents operations.IReceiptCollectiongetReceipts()Gets the available receipt operations.Methods inherited from class com.microsoft.store.partnercenter.BasePartnerComponent
getContext, getPartnerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.microsoft.store.partnercenter.IPartnerComponent
getContext, getPartner
-
Constructor Details
-
InvoiceOperations
Initializes a new instance of the InvoiceOperations class.- Parameters:
rootPartnerOperations- The root partner operations instance.invoiceId- The invoice identifier.
-
-
Method Details
-
getDocuments
Gets an invoice documents operations.- Specified by:
getDocumentsin interfaceIInvoice- Returns:
- An invoice document operations.
-
getReceipts
Gets the available receipt operations.- Specified by:
getReceiptsin interfaceIInvoice- Returns:
- The available receipt operations.
-
by
public IInvoiceLineItemCollection by(BillingProvider billingProvider, InvoiceLineItemType invoiceLineItemType)Creates an invoice line item collection operation given a billing provider and invoice line item type. -
by
public IReconciliationLineItemCollection by(BillingProvider provider, InvoiceLineItemType invoiceLineItemType, String currencyCode, BillingPeriod period)Creates an invoice line item collection operations given a billing provider and invoice line item type.- Specified by:
byin interfaceIInvoice- Parameters:
provider- The type of billing provider.invoiceLineItemType- The type of invoice line item type.currencyCode- The currency code.period- The period for unbilled recon.- Returns:
- The available invoice line item collection operations given a billing provider and invoice line item type.
-
by
public IReconciliationLineItemCollection by(BillingProvider provider, InvoiceLineItemType invoiceLineItemType, String currencyCode, BillingPeriod period, int pageSize)Creates an invoice line item collection operations given a billing provider and invoice line item type.- Specified by:
byin interfaceIInvoice- Parameters:
provider- The type of billing provider.invoiceLineItemType- The type of invoice line item type.currencyCode- The currency code.period- The period for unbilled recon.pageSize- The number of records returned in a single operation.- Returns:
- The available invoice line item collection operations given a billing provider and invoice line item type.
-
get
Retrieves information about a specific invoice.- Specified by:
getin interfaceIEntityGetOperations<Invoice>- Returns:
- The invoice.
-