Interface InvoiceSummary.Builder

  • Method Details

    • accountId

      InvoiceSummary.Builder accountId(String accountId)

      The Amazon Web Services account ID.

      Parameters:
      accountId - The Amazon Web Services account ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • invoiceId

      InvoiceSummary.Builder invoiceId(String invoiceId)

      The invoice ID.

      Parameters:
      invoiceId - The invoice ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • issuedDate

      InvoiceSummary.Builder issuedDate(Instant issuedDate)

      The issued date of the invoice.

      Parameters:
      issuedDate - The issued date of the invoice.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dueDate

      InvoiceSummary.Builder dueDate(Instant dueDate)

      The invoice due date.

      Parameters:
      dueDate - The invoice due date.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • billSourceAccounts

      InvoiceSummary.Builder billSourceAccounts(Collection<String> billSourceAccounts)

      The list of Amazon Web Services account IDs that are the bill source of the invoice. Currently, only a single bill source account is returned.

      Parameters:
      billSourceAccounts - The list of Amazon Web Services account IDs that are the bill source of the invoice. Currently, only a single bill source account is returned.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • billSourceAccounts

      InvoiceSummary.Builder billSourceAccounts(String... billSourceAccounts)

      The list of Amazon Web Services account IDs that are the bill source of the invoice. Currently, only a single bill source account is returned.

      Parameters:
      billSourceAccounts - The list of Amazon Web Services account IDs that are the bill source of the invoice. Currently, only a single bill source account is returned.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • billSourceAccountsTotalCount

      InvoiceSummary.Builder billSourceAccountsTotalCount(Integer billSourceAccountsTotalCount)

      The total number of accounts that are the bill source of the invoice.

      Parameters:
      billSourceAccountsTotalCount - The total number of accounts that are the bill source of the invoice.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • receiverRole

      InvoiceSummary.Builder receiverRole(String receiverRole)

      The role of the invoice receiver.

      Parameters:
      receiverRole - The role of the invoice receiver.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • receiverRole

      InvoiceSummary.Builder receiverRole(ReceiverRole receiverRole)

      The role of the invoice receiver.

      Parameters:
      receiverRole - The role of the invoice receiver.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • entity

      The organization name providing Amazon Web Services services.

      Parameters:
      entity - The organization name providing Amazon Web Services services.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • entity

      The organization name providing Amazon Web Services services.

      This is a convenience method that creates an instance of the Entity.Builder avoiding the need to create one manually via Entity.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to entity(Entity).

      Parameters:
      entity - a consumer that will call methods on Entity.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • billingPeriod

      InvoiceSummary.Builder billingPeriod(BillingPeriod billingPeriod)

      The billing period of the invoice-related document.

      Parameters:
      billingPeriod - The billing period of the invoice-related document.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • billingPeriod

      default InvoiceSummary.Builder billingPeriod(Consumer<BillingPeriod.Builder> billingPeriod)

      The billing period of the invoice-related document.

      This is a convenience method that creates an instance of the BillingPeriod.Builder avoiding the need to create one manually via BillingPeriod.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to billingPeriod(BillingPeriod).

      Parameters:
      billingPeriod - a consumer that will call methods on BillingPeriod.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • invoiceFrequency

      InvoiceSummary.Builder invoiceFrequency(String invoiceFrequency)

      The frequency of the invoice.

      Parameters:
      invoiceFrequency - The frequency of the invoice.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • invoiceFrequency

      InvoiceSummary.Builder invoiceFrequency(InvoiceFrequency invoiceFrequency)

      The frequency of the invoice.

      Parameters:
      invoiceFrequency - The frequency of the invoice.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • billType

      InvoiceSummary.Builder billType(String billType)

      The type of the bill.

      Parameters:
      billType - The type of the bill.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • billType

      InvoiceSummary.Builder billType(BillType billType)

      The type of the bill.

      Parameters:
      billType - The type of the bill.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • invoiceType

      InvoiceSummary.Builder invoiceType(String invoiceType)

      The type of invoice.

      Parameters:
      invoiceType - The type of invoice.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • invoiceType

      InvoiceSummary.Builder invoiceType(InvoiceType invoiceType)

      The type of invoice.

      Parameters:
      invoiceType - The type of invoice.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • commercialInvoiceId

      InvoiceSummary.Builder commercialInvoiceId(String commercialInvoiceId)

      The commercial invoice ID. This is only applicable for tax invoices and identifies the associated commercial invoice.

      Parameters:
      commercialInvoiceId - The commercial invoice ID. This is only applicable for tax invoices and identifies the associated commercial invoice.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • originalInvoiceId

      InvoiceSummary.Builder originalInvoiceId(String originalInvoiceId)

      The initial or original invoice ID.

      Parameters:
      originalInvoiceId - The initial or original invoice ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • purchaseOrderNumber

      InvoiceSummary.Builder purchaseOrderNumber(String purchaseOrderNumber)

      The purchase order number associated to the invoice.

      Parameters:
      purchaseOrderNumber - The purchase order number associated to the invoice.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • einvoiceDeliveryStatus

      InvoiceSummary.Builder einvoiceDeliveryStatus(String einvoiceDeliveryStatus)

      The e-invoice delivery status.

      Parameters:
      einvoiceDeliveryStatus - The e-invoice delivery status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • einvoiceDeliveryStatus

      InvoiceSummary.Builder einvoiceDeliveryStatus(EinvoiceDeliveryStatus einvoiceDeliveryStatus)

      The e-invoice delivery status.

      Parameters:
      einvoiceDeliveryStatus - The e-invoice delivery status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • taxAuthorityStatus

      InvoiceSummary.Builder taxAuthorityStatus(String taxAuthorityStatus)

      The current status of an invoice as reported to the tax authority. This captures scenarios where an invoice may be cancelled after issuance.

      Parameters:
      taxAuthorityStatus - The current status of an invoice as reported to the tax authority. This captures scenarios where an invoice may be cancelled after issuance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • taxAuthorityStatus

      InvoiceSummary.Builder taxAuthorityStatus(TaxAuthorityStatus taxAuthorityStatus)

      The current status of an invoice as reported to the tax authority. This captures scenarios where an invoice may be cancelled after issuance.

      Parameters:
      taxAuthorityStatus - The current status of an invoice as reported to the tax authority. This captures scenarios where an invoice may be cancelled after issuance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • baseCurrencyAmount

      InvoiceSummary.Builder baseCurrencyAmount(InvoiceCurrencyAmount baseCurrencyAmount)

      The summary with the product and service currency.

      Parameters:
      baseCurrencyAmount - The summary with the product and service currency.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • baseCurrencyAmount

      default InvoiceSummary.Builder baseCurrencyAmount(Consumer<InvoiceCurrencyAmount.Builder> baseCurrencyAmount)

      The summary with the product and service currency.

      This is a convenience method that creates an instance of the InvoiceCurrencyAmount.Builder avoiding the need to create one manually via InvoiceCurrencyAmount.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to baseCurrencyAmount(InvoiceCurrencyAmount).

      Parameters:
      baseCurrencyAmount - a consumer that will call methods on InvoiceCurrencyAmount.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • taxCurrencyAmount

      InvoiceSummary.Builder taxCurrencyAmount(InvoiceCurrencyAmount taxCurrencyAmount)

      The summary with the tax currency.

      Parameters:
      taxCurrencyAmount - The summary with the tax currency.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • taxCurrencyAmount

      default InvoiceSummary.Builder taxCurrencyAmount(Consumer<InvoiceCurrencyAmount.Builder> taxCurrencyAmount)

      The summary with the tax currency.

      This is a convenience method that creates an instance of the InvoiceCurrencyAmount.Builder avoiding the need to create one manually via InvoiceCurrencyAmount.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to taxCurrencyAmount(InvoiceCurrencyAmount).

      Parameters:
      taxCurrencyAmount - a consumer that will call methods on InvoiceCurrencyAmount.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • paymentCurrencyAmount

      InvoiceSummary.Builder paymentCurrencyAmount(InvoiceCurrencyAmount paymentCurrencyAmount)

      The summary with the customer configured currency.

      Parameters:
      paymentCurrencyAmount - The summary with the customer configured currency.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • paymentCurrencyAmount

      default InvoiceSummary.Builder paymentCurrencyAmount(Consumer<InvoiceCurrencyAmount.Builder> paymentCurrencyAmount)

      The summary with the customer configured currency.

      This is a convenience method that creates an instance of the InvoiceCurrencyAmount.Builder avoiding the need to create one manually via InvoiceCurrencyAmount.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to paymentCurrencyAmount(InvoiceCurrencyAmount).

      Parameters:
      paymentCurrencyAmount - a consumer that will call methods on InvoiceCurrencyAmount.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: