RenewPropertiesResponse Class
- java.
lang. Object - com.
azure. resourcemanager. billing. models. RenewPropertiesResponse
- com.
Implements
public final class RenewPropertiesResponse
implements JsonSerializable<RenewPropertiesResponse>
The renew properties for a reservation.
Constructor Summary
| Constructor | Description |
|---|---|
| RenewPropertiesResponse() |
Creates an instance of Renew |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Price |
billingCurrencyTotal()
Get the billing |
|
static
Renew |
fromJson(JsonReader jsonReader)
Reads an instance of Renew |
| Price |
pricingCurrencyTotal()
Get the pricing |
|
Reservation |
purchaseProperties()
Get the purchase |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Renew |
withBillingCurrencyTotal(Price billingCurrencyTotal)
Set the billing |
|
Renew |
withPricingCurrencyTotal(Price pricingCurrencyTotal)
Set the pricing |
|
Renew |
withPurchaseProperties(ReservationPurchaseRequest purchaseProperties)
Set the purchase |
Methods inherited from java.lang.Object
Constructor Details
RenewPropertiesResponse
public RenewPropertiesResponse()
Creates an instance of RenewPropertiesResponse class.
Method Details
billingCurrencyTotal
public Price billingCurrencyTotal()
Get the billingCurrencyTotal property: Currency and amount that customer will be charged in customer's local currency for renewal purchase. Tax is not included.
Returns:
fromJson
public static RenewPropertiesResponse fromJson(JsonReader jsonReader)
Reads an instance of RenewPropertiesResponse from the JsonReader.
Parameters:
Returns:
Throws:
pricingCurrencyTotal
public Price pricingCurrencyTotal()
Get the pricingCurrencyTotal property: Amount that Microsoft uses for record. Used during refund for calculating refund limit. Tax is not included. This is locked price 30 days before expiry.
Returns:
purchaseProperties
public ReservationPurchaseRequest purchaseProperties()
Get the purchaseProperties property: The request for reservation purchase.
Returns:
toJson
validate
public void validate()
Validates the instance.
withBillingCurrencyTotal
public RenewPropertiesResponse withBillingCurrencyTotal(Price billingCurrencyTotal)
Set the billingCurrencyTotal property: Currency and amount that customer will be charged in customer's local currency for renewal purchase. Tax is not included.
Parameters:
Returns:
withPricingCurrencyTotal
public RenewPropertiesResponse withPricingCurrencyTotal(Price pricingCurrencyTotal)
Set the pricingCurrencyTotal property: Amount that Microsoft uses for record. Used during refund for calculating refund limit. Tax is not included. This is locked price 30 days before expiry.
Parameters:
Returns:
withPurchaseProperties
public RenewPropertiesResponse withPurchaseProperties(ReservationPurchaseRequest purchaseProperties)
Set the purchaseProperties property: The request for reservation purchase.
Parameters:
Returns: