com.microsoft.store.partnercenter.invoices.IInvoice Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of partnercenter Show documentation
Show all versions of partnercenter Show documentation
SDK for accessing Microsoft Partner Center API.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See the LICENSE file in the project root for full license information.
package com.microsoft.store.partnercenter.invoices;
import com.microsoft.store.partnercenter.IPartnerComponentString;
import com.microsoft.store.partnercenter.genericoperations.IEntityGetOperations;
import com.microsoft.store.partnercenter.models.invoices.BillingPeriod;
import com.microsoft.store.partnercenter.models.invoices.BillingProvider;
import com.microsoft.store.partnercenter.models.invoices.Invoice;
import com.microsoft.store.partnercenter.models.invoices.InvoiceLineItemType;
/**
* Represents all the operations that can be done on an invoice
*/
public interface IInvoice
extends IPartnerComponentString, IEntityGetOperations
{
/**
* Gets an invoice document operations.
*
* @return An invoice document operations.
*/
IInvoiceDocuments getDocuments();
/**
* Gets the available receipt operations.
*
* @return The available receipt operations.
*/
IReceiptCollection getReceipts();
/**
* Creates an invoice line item collection operations given a billing provider and invoice line item type.
*
* @param billingProvider The billing provider.
* @param invoiceLineItemType The invoice line item type.
*
* @return The available invoice line item collection operations given a billing provider and invoice line item type.
*/
IInvoiceLineItemCollection by(BillingProvider billingProvider, InvoiceLineItemType invoiceLineItemType);
/**
* Creates an invoice line item collection operations given a billing provider and invoice line item type.
*
* @param provider The type of billing provider.
* @param invoiceLineItemType The type of invoice line item type.
* @param currencyCode The currency code.
* @param period The period for unbilled recon.
*
* @return The available invoice line item collection operations given a billing provider and invoice line item type.
*/
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.
*
* @param provider The type of billing provider.
* @param invoiceLineItemType The type of invoice line item type.
* @param currencyCode The currency code.
* @param period The period for unbilled recon.
* @param pageSize The number of records returned in a single operation.
*
* @return The available invoice line item collection operations given a billing provider and invoice line item type.
*/
IReconciliationLineItemCollection By(BillingProvider provider, InvoiceLineItemType invoiceLineItemType, String currencyCode, BillingPeriod period, int pageSize);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy