Interface InvoiceDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<InvoiceDetails.Builder,,InvoiceDetails> SdkBuilder<InvoiceDetails.Builder,,InvoiceDetails> SdkPojo
- Enclosing class:
InvoiceDetails
-
Method Summary
Modifier and TypeMethodDescriptiondefault InvoiceDetails.BuilderbillingPeriod(Consumer<BillingPeriod.Builder> billingPeriod) The billing period the invoice covers: the period of the usage it bills.billingPeriod(BillingPeriod billingPeriod) The billing period the invoice covers: the period of the usage it bills.The calendar date by which the invoice must be paid, as the timestamp of 00:00:00 UTC on that day.Whether the invoice is due or past its due date.Whether the invoice is due or past its due date.invoiceFrequency(String invoiceFrequency) Whether the invoice was issued once or as part of a billing cycle.invoiceFrequency(InvoiceFrequency invoiceFrequency) Whether the invoice was issued once or as part of a billing cycle.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 asInvoiceId.paymentTerms(String paymentTerms) The payment terms for the invoice, as Amazon Web Services Invoicing issued them, such asNet30.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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.GetFinancialRecordandBatchGetFinancialRecordalso accept it, asinvoiceIdentifier.- 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 asInvoiceId.GetFinancialRecordandBatchGetFinancialRecordalso accept it, asinvoiceIdentifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dueStatus
Whether the invoice is due or past its due date. This member is present only while the invoice's
statusisOUTSTANDING. It's absent when thestatusisPROCESSING,SETTLED, orCANCELED. 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'sstatusisOUTSTANDING. It's absent when thestatusisPROCESSING,SETTLED, orCANCELED. 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
Whether the invoice is due or past its due date. This member is present only while the invoice's
statusisOUTSTANDING. It's absent when thestatusisPROCESSING,SETTLED, orCANCELED. 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'sstatusisOUTSTANDING. It's absent when thestatusisPROCESSING,SETTLED, orCANCELED. 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
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
The billing period the invoice covers: the period of the usage it bills.
This is a convenience method that creates an instance of theBillingPeriod.Builderavoiding the need to create one manually viaBillingPeriod.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobillingPeriod(BillingPeriod).- Parameters:
billingPeriod- a consumer that will call methods onBillingPeriod.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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 asNet30. 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
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
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:
-
-