Class InvoiceDetails
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<InvoiceDetails.Builder,InvoiceDetails>
The details of an invoice: the invoice ID that Amazon Web Services Invoicing issued, the billing period that the invoice covers, its due date and due status, its payment terms, and its frequency.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal BillingPeriodThe billing period the invoice covers: the period of the usage it bills.static InvoiceDetails.Builderbuilder()final InstantdueDate()The calendar date by which the invoice must be paid, as the timestamp of 00:00:00 UTC on that day.final DueStatusWhether the invoice is due or past its due date.final StringWhether the invoice is due or past its due date.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final InvoiceFrequencyWhether the invoice was issued once or as part of a billing cycle.final StringWhether the invoice was issued once or as part of a billing cycle.final StringThe 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.final StringThe payment terms for the invoice, as Amazon Web Services Invoicing issued them, such asNet30.static Class<? extends InvoiceDetails.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
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.- Returns:
- 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.
-
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.
If the service returns an enum value that is not available in the current SDK version,
dueStatuswill returnDueStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdueStatusAsString().- Returns:
- 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.
-
- See Also:
-
-
dueStatusAsString
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.
If the service returns an enum value that is not available in the current SDK version,
dueStatuswill returnDueStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdueStatusAsString().- Returns:
- 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.
-
- See Also:
-
-
billingPeriod
The billing period the invoice covers: the period of the usage it bills.
- Returns:
- The billing period the invoice covers: the period of the usage it bills.
-
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:
- 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.
-
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:
- 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.
-
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.
If the service returns an enum value that is not available in the current SDK version,
invoiceFrequencywill returnInvoiceFrequency.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frominvoiceFrequencyAsString().- Returns:
- 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.
-
- See Also:
-
-
invoiceFrequencyAsString
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.
If the service returns an enum value that is not available in the current SDK version,
invoiceFrequencywill returnInvoiceFrequency.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frominvoiceFrequencyAsString().- Returns:
- 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.
-
- See Also:
-
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<InvoiceDetails.Builder,InvoiceDetails> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-