Class InvoiceLineItemCollectionOperations
java.lang.Object
com.microsoft.store.partnercenter.BasePartnerComponent<String>
com.microsoft.store.partnercenter.BasePartnerComponentString
com.microsoft.store.partnercenter.invoices.InvoiceLineItemCollectionOperations
- All Implemented Interfaces:
IEntireEntityCollectionRetrievalOperations<InvoiceLineItem,ResourceCollection<InvoiceLineItem>>,IEntityCollectionRetrievalOperations<InvoiceLineItem,ResourceCollection<InvoiceLineItem>>,IPagedEntityCollectionRetrievalOperations<InvoiceLineItem,ResourceCollection<InvoiceLineItem>>,IInvoiceLineItemCollection,IPartnerComponent<String>,IPartnerComponentString
public class InvoiceLineItemCollectionOperations extends BasePartnerComponentString implements IInvoiceLineItemCollection
-
Constructor Summary
Constructors Constructor Description InvoiceLineItemCollectionOperations(IPartner rootPartnerOperations, String invoiceId, BillingProvider billingProvider, InvoiceLineItemType invoiceLineItemType)Initializes a new instance of the InvoiceLineItemCollectionOperations class. -
Method Summary
Modifier and Type Method Description ResourceCollection<InvoiceLineItem>get()Retrieves invoice line items for a specific billing provider and invoice line item typeResourceCollection<InvoiceLineItem>get(int size, int offset)Retrieves invoice line items for a specific billing provider and invoice line item type and allows pagingMethods 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
-
InvoiceLineItemCollectionOperations
public InvoiceLineItemCollectionOperations(IPartner rootPartnerOperations, String invoiceId, BillingProvider billingProvider, InvoiceLineItemType invoiceLineItemType)Initializes a new instance of the InvoiceLineItemCollectionOperations class.- Parameters:
rootPartnerOperations- The partner operations.invoiceId- The invoice Id.billingProvider- The provider of billing information.invoiceLineItemType- The type of invoice line item.
-
-
Method Details
-
get
Retrieves invoice line items for a specific billing provider and invoice line item type- Specified by:
getin interfaceIEntireEntityCollectionRetrievalOperations<InvoiceLineItem,ResourceCollection<InvoiceLineItem>>- Specified by:
getin interfaceIInvoiceLineItemCollection- Returns:
- The collection of invoice line items.
-
get
Retrieves invoice line items for a specific billing provider and invoice line item type and allows paging- Specified by:
getin interfaceIInvoiceLineItemCollection- Specified by:
getin interfaceIPagedEntityCollectionRetrievalOperations<InvoiceLineItem,ResourceCollection<InvoiceLineItem>>- Parameters:
size- The maximum number of invoice line items to return.offset- The page offset.- Returns:
- The collection of invoice line items.
-