@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PaymentScheduleTerm extends Object implements Serializable, Cloneable, StructuredPojo
Defines an installment-based pricing model where customers are charged a fixed price on different dates during the agreement validity period. This is used most commonly for flexible payment schedule pricing.
Constructor and Description |
---|
PaymentScheduleTerm() |
Modifier and Type | Method and Description |
---|---|
PaymentScheduleTerm |
clone() |
boolean |
equals(Object obj) |
String |
getCurrencyCode()
Defines the currency for the prices mentioned in the term.
|
List<ScheduleItem> |
getSchedule()
List of the payment schedule where each element defines one installment of payment.
|
String |
getType()
Type of the term.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCurrencyCode(String currencyCode)
Defines the currency for the prices mentioned in the term.
|
void |
setSchedule(Collection<ScheduleItem> schedule)
List of the payment schedule where each element defines one installment of payment.
|
void |
setType(String type)
Type of the term.
|
String |
toString()
Returns a string representation of this object.
|
PaymentScheduleTerm |
withCurrencyCode(String currencyCode)
Defines the currency for the prices mentioned in the term.
|
PaymentScheduleTerm |
withSchedule(Collection<ScheduleItem> schedule)
List of the payment schedule where each element defines one installment of payment.
|
PaymentScheduleTerm |
withSchedule(ScheduleItem... schedule)
List of the payment schedule where each element defines one installment of payment.
|
PaymentScheduleTerm |
withType(String type)
Type of the term.
|
public void setCurrencyCode(String currencyCode)
Defines the currency for the prices mentioned in the term.
currencyCode
- Defines the currency for the prices mentioned in the term.public String getCurrencyCode()
Defines the currency for the prices mentioned in the term.
public PaymentScheduleTerm withCurrencyCode(String currencyCode)
Defines the currency for the prices mentioned in the term.
currencyCode
- Defines the currency for the prices mentioned in the term.public List<ScheduleItem> getSchedule()
List of the payment schedule where each element defines one installment of payment. It contains the information necessary for calculating the price.
public void setSchedule(Collection<ScheduleItem> schedule)
List of the payment schedule where each element defines one installment of payment. It contains the information necessary for calculating the price.
schedule
- List of the payment schedule where each element defines one installment of payment. It contains the
information necessary for calculating the price.public PaymentScheduleTerm withSchedule(ScheduleItem... schedule)
List of the payment schedule where each element defines one installment of payment. It contains the information necessary for calculating the price.
NOTE: This method appends the values to the existing list (if any). Use
setSchedule(java.util.Collection)
or withSchedule(java.util.Collection)
if you want to override
the existing values.
schedule
- List of the payment schedule where each element defines one installment of payment. It contains the
information necessary for calculating the price.public PaymentScheduleTerm withSchedule(Collection<ScheduleItem> schedule)
List of the payment schedule where each element defines one installment of payment. It contains the information necessary for calculating the price.
schedule
- List of the payment schedule where each element defines one installment of payment. It contains the
information necessary for calculating the price.public void setType(String type)
Type of the term.
type
- Type of the term.public String getType()
Type of the term.
public PaymentScheduleTerm withType(String type)
Type of the term.
type
- Type of the term.public String toString()
toString
in class Object
Object.toString()
public PaymentScheduleTerm clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.