Interface InvoiceDetails.Builder

  • Method Details

    • invoiceId

      InvoiceDetails.Builder invoiceId(String invoiceId)

      The invoice ID that Amazon Web Services Invoicing issued for the invoice: the document number printed on it, shown in the Amazon Web Services Billing and Cost Management console and returned by the Amazon Web Services Invoicing API as InvoiceId. GetFinancialRecord and BatchGetFinancialRecord also accept it, as invoiceIdentifier.

      Parameters:
      invoiceId - The invoice ID that Amazon Web Services Invoicing issued for the invoice: the document number printed on it, shown in the Amazon Web Services Billing and Cost Management console and returned by the Amazon Web Services Invoicing API as InvoiceId. GetFinancialRecord and BatchGetFinancialRecord also accept it, as invoiceIdentifier.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dueStatus

      InvoiceDetails.Builder dueStatus(String dueStatus)

      Whether the invoice is due or past its due date. This member is present only while the invoice's status is OUTSTANDING. It's absent when the status is PROCESSING, SETTLED, or CANCELED. The following values are valid:

      • DUE – The due date hasn't passed.

      • PAST_DUE – The due date has passed, and the invoice is still outstanding.

      Parameters:
      dueStatus - Whether the invoice is due or past its due date. This member is present only while the invoice's status is OUTSTANDING. It's absent when the status is PROCESSING, SETTLED, or CANCELED. The following values are valid:

      • DUE – The due date hasn't passed.

      • PAST_DUE – The due date has passed, and the invoice is still outstanding.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • dueStatus

      InvoiceDetails.Builder dueStatus(DueStatus dueStatus)

      Whether the invoice is due or past its due date. This member is present only while the invoice's status is OUTSTANDING. It's absent when the status is PROCESSING, SETTLED, or CANCELED. The following values are valid:

      • DUE – The due date hasn't passed.

      • PAST_DUE – The due date has passed, and the invoice is still outstanding.

      Parameters:
      dueStatus - Whether the invoice is due or past its due date. This member is present only while the invoice's status is OUTSTANDING. It's absent when the status is PROCESSING, SETTLED, or CANCELED. The following values are valid:

      • DUE – The due date hasn't passed.

      • PAST_DUE – The due date has passed, and the invoice is still outstanding.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • billingPeriod

      InvoiceDetails.Builder billingPeriod(BillingPeriod billingPeriod)

      The billing period the invoice covers: the period of the usage it bills.

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

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

      The billing period the invoice covers: the period of the usage it bills.

      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:
    • dueDate

      InvoiceDetails.Builder dueDate(Instant dueDate)

      The calendar date by which the invoice must be paid, as the timestamp of 00:00:00 UTC on that day. The invoice is past due from the following day.

      Parameters:
      dueDate - The calendar date by which the invoice must be paid, as the timestamp of 00:00:00 UTC on that day. The invoice is past due from the following day.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • paymentTerms

      InvoiceDetails.Builder paymentTerms(String paymentTerms)

      The payment terms for the invoice, as Amazon Web Services Invoicing issued them, such as Net30. The due date follows from these terms. This member is absent when Amazon Web Services Invoicing didn't issue payment terms for the invoice.

      Parameters:
      paymentTerms - The payment terms for the invoice, as Amazon Web Services Invoicing issued them, such as Net30. The due date follows from these terms. This member is absent when Amazon Web Services Invoicing didn't issue payment terms for the invoice.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • invoiceFrequency

      InvoiceDetails.Builder invoiceFrequency(String invoiceFrequency)

      Whether the invoice was issued once or as part of a billing cycle. The following values are valid:

      • ONE_TIME – A single invoice that isn't part of a billing cycle.

      • RECURRING – One invoice of a billing cycle, such as your monthly invoice.

      Parameters:
      invoiceFrequency - Whether the invoice was issued once or as part of a billing cycle. The following values are valid:

      • ONE_TIME – A single invoice that isn't part of a billing cycle.

      • RECURRING – One invoice of a billing cycle, such as your monthly invoice.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • invoiceFrequency

      InvoiceDetails.Builder invoiceFrequency(InvoiceFrequency invoiceFrequency)

      Whether the invoice was issued once or as part of a billing cycle. The following values are valid:

      • ONE_TIME – A single invoice that isn't part of a billing cycle.

      • RECURRING – One invoice of a billing cycle, such as your monthly invoice.

      Parameters:
      invoiceFrequency - Whether the invoice was issued once or as part of a billing cycle. The following values are valid:

      • ONE_TIME – A single invoice that isn't part of a billing cycle.

      • RECURRING – One invoice of a billing cycle, such as your monthly invoice.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: