Class RecurringCharge
java.lang.Object
com.azure.resourcemanager.commerce.models.OfferTermInfoAutoGenerated
com.azure.resourcemanager.commerce.models.RecurringCharge
Indicates a recurring charge is present for this offer.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the recurringCharge property: The amount of recurring charge as per the offer term.void
validate()
Validates the instance.withEffectiveDate
(OffsetDateTime effectiveDate) Set the effectiveDate property: Indicates the date from which the offer term is effective.withRecurringCharge
(Integer recurringCharge) Set the recurringCharge property: The amount of recurring charge as per the offer term.Methods inherited from class com.azure.resourcemanager.commerce.models.OfferTermInfoAutoGenerated
effectiveDate
-
Constructor Details
-
RecurringCharge
public RecurringCharge()Creates an instance of RecurringCharge class.
-
-
Method Details
-
recurringCharge
Get the recurringCharge property: The amount of recurring charge as per the offer term.- Returns:
- the recurringCharge value.
-
withRecurringCharge
Set the recurringCharge property: The amount of recurring charge as per the offer term.- Parameters:
recurringCharge
- the recurringCharge value to set.- Returns:
- the RecurringCharge object itself.
-
withEffectiveDate
Set the effectiveDate property: Indicates the date from which the offer term is effective.- Overrides:
withEffectiveDate
in classOfferTermInfoAutoGenerated
- Parameters:
effectiveDate
- the effectiveDate value to set.- Returns:
- the OfferTermInfoAutoGenerated object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classOfferTermInfoAutoGenerated
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-