@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RecurringPaymentTerm extends Object implements Serializable, Cloneable, StructuredPojo
Defines a pricing model where customers are charged a fixed recurring price at the end of each billing period.
Constructor and Description |
---|
RecurringPaymentTerm() |
Modifier and Type | Method and Description |
---|---|
RecurringPaymentTerm |
clone() |
boolean |
equals(Object obj) |
String |
getBillingPeriod()
Defines the recurrence at which buyers are charged.
|
String |
getCurrencyCode()
Defines the currency for the prices mentioned in this term.
|
String |
getPrice()
Amount charged to the buyer every billing period.
|
String |
getType()
Type of the term being updated.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBillingPeriod(String billingPeriod)
Defines the recurrence at which buyers are charged.
|
void |
setCurrencyCode(String currencyCode)
Defines the currency for the prices mentioned in this term.
|
void |
setPrice(String price)
Amount charged to the buyer every billing period.
|
void |
setType(String type)
Type of the term being updated.
|
String |
toString()
Returns a string representation of this object.
|
RecurringPaymentTerm |
withBillingPeriod(String billingPeriod)
Defines the recurrence at which buyers are charged.
|
RecurringPaymentTerm |
withCurrencyCode(String currencyCode)
Defines the currency for the prices mentioned in this term.
|
RecurringPaymentTerm |
withPrice(String price)
Amount charged to the buyer every billing period.
|
RecurringPaymentTerm |
withType(String type)
Type of the term being updated.
|
public void setBillingPeriod(String billingPeriod)
Defines the recurrence at which buyers are charged.
billingPeriod
- Defines the recurrence at which buyers are charged.public String getBillingPeriod()
Defines the recurrence at which buyers are charged.
public RecurringPaymentTerm withBillingPeriod(String billingPeriod)
Defines the recurrence at which buyers are charged.
billingPeriod
- Defines the recurrence at which buyers are charged.public void setCurrencyCode(String currencyCode)
Defines the currency for the prices mentioned in this term.
currencyCode
- Defines the currency for the prices mentioned in this term.public String getCurrencyCode()
Defines the currency for the prices mentioned in this term.
public RecurringPaymentTerm withCurrencyCode(String currencyCode)
Defines the currency for the prices mentioned in this term.
currencyCode
- Defines the currency for the prices mentioned in this term.public void setPrice(String price)
Amount charged to the buyer every billing period.
price
- Amount charged to the buyer every billing period.public String getPrice()
Amount charged to the buyer every billing period.
public RecurringPaymentTerm withPrice(String price)
Amount charged to the buyer every billing period.
price
- Amount charged to the buyer every billing period.public void setType(String type)
Type of the term being updated.
type
- Type of the term being updated.public String getType()
Type of the term being updated.
public RecurringPaymentTerm withType(String type)
Type of the term being updated.
type
- Type of the term being updated.public String toString()
toString
in class Object
Object.toString()
public RecurringPaymentTerm clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.