PaymentDetail Class
- java.
lang. Object - com.
azure. resourcemanager. billing. models. PaymentDetail
- com.
Implements
public final class PaymentDetail
implements JsonSerializable<PaymentDetail>
Information about payment related to a savings plan order.
Constructor Summary
| Constructor | Description |
|---|---|
| PaymentDetail() |
Creates an instance of Payment |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Price |
billingCurrencyTotal()
Get the billing |
|
Local |
dueDate()
Get the due |
|
Extended |
extendedStatusInfo()
Get the extended |
|
static
Payment |
fromJson(JsonReader jsonReader)
Reads an instance of Payment |
|
Local |
paymentDate()
Get the payment |
| Price |
pricingCurrencyTotal()
Get the pricing |
|
Payment |
status()
Get the status property: Describes whether the payment is completed, failed, pending, cancelled or scheduled in the future. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Payment |
withBillingCurrencyTotal(Price billingCurrencyTotal)
Set the billing |
|
Payment |
withDueDate(LocalDate dueDate)
Set the due |
|
Payment |
withPaymentDate(LocalDate paymentDate)
Set the payment |
|
Payment |
withPricingCurrencyTotal(Price pricingCurrencyTotal)
Set the pricing |
|
Payment |
withStatus(PaymentStatus status)
Set the status property: Describes whether the payment is completed, failed, pending, cancelled or scheduled in the future. |
Methods inherited from java.lang.Object
Constructor Details
PaymentDetail
public PaymentDetail()
Creates an instance of PaymentDetail class.
Method Details
billingCurrencyTotal
public Price billingCurrencyTotal()
Get the billingCurrencyTotal property: Amount charged in Billing currency. Tax not included. Is null for future payments.
Returns:
dueDate
public LocalDate dueDate()
Get the dueDate property: Date when the payment needs to be done.
Returns:
extendedStatusInfo
public ExtendedStatusInfo extendedStatusInfo()
Get the extendedStatusInfo property: Extended status information.
Returns:
fromJson
public static PaymentDetail fromJson(JsonReader jsonReader)
Reads an instance of PaymentDetail from the JsonReader.
Parameters:
Returns:
Throws:
paymentDate
public LocalDate paymentDate()
Get the paymentDate property: Date when the transaction is completed. Null when it is scheduled.
Returns:
pricingCurrencyTotal
public Price pricingCurrencyTotal()
Get the pricingCurrencyTotal property: Amount in pricing currency. Tax not included.
Returns:
status
public PaymentStatus status()
Get the status property: Describes whether the payment is completed, failed, pending, cancelled or scheduled in the future.
Returns:
toJson
validate
public void validate()
Validates the instance.
withBillingCurrencyTotal
public PaymentDetail withBillingCurrencyTotal(Price billingCurrencyTotal)
Set the billingCurrencyTotal property: Amount charged in Billing currency. Tax not included. Is null for future payments.
Parameters:
Returns:
withDueDate
public PaymentDetail withDueDate(LocalDate dueDate)
Set the dueDate property: Date when the payment needs to be done.
Parameters:
Returns:
withPaymentDate
public PaymentDetail withPaymentDate(LocalDate paymentDate)
Set the paymentDate property: Date when the transaction is completed. Null when it is scheduled.
Parameters:
Returns:
withPricingCurrencyTotal
public PaymentDetail withPricingCurrencyTotal(Price pricingCurrencyTotal)
Set the pricingCurrencyTotal property: Amount in pricing currency. Tax not included.
Parameters:
Returns:
withStatus
public PaymentDetail withStatus(PaymentStatus status)
Set the status property: Describes whether the payment is completed, failed, pending, cancelled or scheduled in the future.
Parameters:
Returns: