ReservationPaymentDetail Class
- java.
lang. Object - com.
azure. resourcemanager. billing. models. ReservationPaymentDetail
- com.
Implements
public final class ReservationPaymentDetail
implements JsonSerializable<ReservationPaymentDetail>
Information about payment related to a reservation order.
Constructor Summary
| Constructor | Description |
|---|---|
| ReservationPaymentDetail() |
Creates an instance of Reservation |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
billingAccount()
Get the billing |
| Price |
billingCurrencyTotal()
Get the billing |
|
Local |
dueDate()
Get the due |
|
Reservation |
extendedStatusInfo()
Get the extended |
|
static
Reservation |
fromJson(JsonReader jsonReader)
Reads an instance of Reservation |
|
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. |
|
Reservation |
withBillingAccount(String billingAccount)
Set the billing |
|
Reservation |
withBillingCurrencyTotal(Price billingCurrencyTotal)
Set the billing |
|
Reservation |
withDueDate(LocalDate dueDate)
Set the due |
|
Reservation |
withExtendedStatusInfo(ReservationExtendedStatusInfo extendedStatusInfo)
Set the extended |
|
Reservation |
withPaymentDate(LocalDate paymentDate)
Set the payment |
|
Reservation |
withPricingCurrencyTotal(Price pricingCurrencyTotal)
Set the pricing |
|
Reservation |
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
ReservationPaymentDetail
public ReservationPaymentDetail()
Creates an instance of ReservationPaymentDetail class.
Method Details
billingAccount
public String billingAccount()
Get the billingAccount property: Shows the Account that is charged for this payment.
Returns:
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 ReservationExtendedStatusInfo extendedStatusInfo()
Get the extendedStatusInfo property: Extended status information for the reservation.
Returns:
fromJson
public static ReservationPaymentDetail fromJson(JsonReader jsonReader)
Reads an instance of ReservationPaymentDetail from the JsonReader.
Parameters:
Returns:
Throws:
paymentDate
public LocalDate paymentDate()
Get the paymentDate property: Date when the transaction is completed. Is 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.
withBillingAccount
public ReservationPaymentDetail withBillingAccount(String billingAccount)
Set the billingAccount property: Shows the Account that is charged for this payment.
Parameters:
Returns:
withBillingCurrencyTotal
public ReservationPaymentDetail withBillingCurrencyTotal(Price billingCurrencyTotal)
Set the billingCurrencyTotal property: Amount charged in Billing currency. Tax not included. Is null for future payments.
Parameters:
Returns:
withDueDate
public ReservationPaymentDetail withDueDate(LocalDate dueDate)
Set the dueDate property: Date when the payment needs to be done.
Parameters:
Returns:
withExtendedStatusInfo
public ReservationPaymentDetail withExtendedStatusInfo(ReservationExtendedStatusInfo extendedStatusInfo)
Set the extendedStatusInfo property: Extended status information for the reservation.
Parameters:
Returns:
withPaymentDate
public ReservationPaymentDetail withPaymentDate(LocalDate paymentDate)
Set the paymentDate property: Date when the transaction is completed. Is null when it is scheduled.
Parameters:
Returns:
withPricingCurrencyTotal
public ReservationPaymentDetail withPricingCurrencyTotal(Price pricingCurrencyTotal)
Set the pricingCurrencyTotal property: Amount in pricing currency. Tax not included.
Parameters:
Returns:
withStatus
public ReservationPaymentDetail withStatus(PaymentStatus status)
Set the status property: Describes whether the payment is completed, failed, pending, cancelled or scheduled in the future.
Parameters:
Returns: