Interface CreditMemoDetails.Builder

  • Method Details

    • invoiceId

      CreditMemoDetails.Builder invoiceId(String invoiceId)

      The invoice ID that Amazon Web Services Invoicing issued for the credit memo: 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 credit memo: 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.
    • billingPeriod

      CreditMemoDetails.Builder billingPeriod(BillingPeriod billingPeriod)

      The billing period the credit memo applies to: the period of the usage it credits.

      Parameters:
      billingPeriod - The billing period the credit memo applies to: the period of the usage it credits.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • billingPeriod

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

      The billing period the credit memo applies to: the period of the usage it credits.

      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: