Package com.adyen.model.checkout
Class AdditionalDataRatepay
- java.lang.Object
-
- com.adyen.model.checkout.AdditionalDataRatepay
-
public class AdditionalDataRatepay extends Object
AdditionalDataRatepay
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_RATEPAY_INSTALLMENT_AMOUNTstatic StringJSON_PROPERTY_RATEPAY_INTEREST_RATEstatic StringJSON_PROPERTY_RATEPAY_LAST_INSTALLMENT_AMOUNTstatic StringJSON_PROPERTY_RATEPAY_PAYMENT_FIRSTDAYstatic StringJSON_PROPERTY_RATEPAYDATA_DELIVERY_DATEstatic StringJSON_PROPERTY_RATEPAYDATA_DUE_DATEstatic StringJSON_PROPERTY_RATEPAYDATA_INVOICE_DATEstatic StringJSON_PROPERTY_RATEPAYDATA_INVOICE_ID
-
Constructor Summary
Constructors Constructor Description AdditionalDataRatepay()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Return true if this AdditionalDataRatepay object is equal to o.static AdditionalDataRatepayfromJson(String jsonString)Create an instance of AdditionalDataRatepay given an JSON stringStringgetRatepaydataDeliveryDate()Date the merchant delivered the goods to the customer.StringgetRatepaydataDueDate()Date by which the customer must settle the payment.StringgetRatepaydataInvoiceDate()Invoice date, defined by the merchant.StringgetRatepaydataInvoiceId()Identification name or number for the invoice, defined by the merchant.StringgetRatepayInstallmentAmount()Amount the customer has to pay each month.StringgetRatepayInterestRate()Interest rate of this installment.StringgetRatepayLastInstallmentAmount()Amount of the last installment.StringgetRatepayPaymentFirstday()Calendar day of the first payment.inthashCode()AdditionalDataRatepayratepaydataDeliveryDate(String ratepaydataDeliveryDate)Date the merchant delivered the goods to the customer.AdditionalDataRatepayratepaydataDueDate(String ratepaydataDueDate)Date by which the customer must settle the payment.AdditionalDataRatepayratepaydataInvoiceDate(String ratepaydataInvoiceDate)Invoice date, defined by the merchant.AdditionalDataRatepayratepaydataInvoiceId(String ratepaydataInvoiceId)Identification name or number for the invoice, defined by the merchant.AdditionalDataRatepayratepayInstallmentAmount(String ratepayInstallmentAmount)Amount the customer has to pay each month.AdditionalDataRatepayratepayInterestRate(String ratepayInterestRate)Interest rate of this installment.AdditionalDataRatepayratepayLastInstallmentAmount(String ratepayLastInstallmentAmount)Amount of the last installment.AdditionalDataRatepayratepayPaymentFirstday(String ratepayPaymentFirstday)Calendar day of the first payment.voidsetRatepaydataDeliveryDate(String ratepaydataDeliveryDate)Date the merchant delivered the goods to the customer.voidsetRatepaydataDueDate(String ratepaydataDueDate)Date by which the customer must settle the payment.voidsetRatepaydataInvoiceDate(String ratepaydataInvoiceDate)Invoice date, defined by the merchant.voidsetRatepaydataInvoiceId(String ratepaydataInvoiceId)Identification name or number for the invoice, defined by the merchant.voidsetRatepayInstallmentAmount(String ratepayInstallmentAmount)Amount the customer has to pay each month.voidsetRatepayInterestRate(String ratepayInterestRate)Interest rate of this installment.voidsetRatepayLastInstallmentAmount(String ratepayLastInstallmentAmount)Amount of the last installment.voidsetRatepayPaymentFirstday(String ratepayPaymentFirstday)Calendar day of the first payment.StringtoJson()Convert an instance of AdditionalDataRatepay to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_RATEPAY_INSTALLMENT_AMOUNT
public static final String JSON_PROPERTY_RATEPAY_INSTALLMENT_AMOUNT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RATEPAY_INTEREST_RATE
public static final String JSON_PROPERTY_RATEPAY_INTEREST_RATE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RATEPAY_LAST_INSTALLMENT_AMOUNT
public static final String JSON_PROPERTY_RATEPAY_LAST_INSTALLMENT_AMOUNT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RATEPAY_PAYMENT_FIRSTDAY
public static final String JSON_PROPERTY_RATEPAY_PAYMENT_FIRSTDAY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RATEPAYDATA_DELIVERY_DATE
public static final String JSON_PROPERTY_RATEPAYDATA_DELIVERY_DATE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RATEPAYDATA_DUE_DATE
public static final String JSON_PROPERTY_RATEPAYDATA_DUE_DATE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RATEPAYDATA_INVOICE_DATE
public static final String JSON_PROPERTY_RATEPAYDATA_INVOICE_DATE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RATEPAYDATA_INVOICE_ID
public static final String JSON_PROPERTY_RATEPAYDATA_INVOICE_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
ratepayInstallmentAmount
public AdditionalDataRatepay ratepayInstallmentAmount(String ratepayInstallmentAmount)
Amount the customer has to pay each month.- Parameters:
ratepayInstallmentAmount-- Returns:
- the current
AdditionalDataRatepayinstance, allowing for method chaining
-
getRatepayInstallmentAmount
public String getRatepayInstallmentAmount()
Amount the customer has to pay each month.- Returns:
- ratepayInstallmentAmount
-
setRatepayInstallmentAmount
public void setRatepayInstallmentAmount(String ratepayInstallmentAmount)
Amount the customer has to pay each month.- Parameters:
ratepayInstallmentAmount-
-
ratepayInterestRate
public AdditionalDataRatepay ratepayInterestRate(String ratepayInterestRate)
Interest rate of this installment.- Parameters:
ratepayInterestRate-- Returns:
- the current
AdditionalDataRatepayinstance, allowing for method chaining
-
getRatepayInterestRate
public String getRatepayInterestRate()
Interest rate of this installment.- Returns:
- ratepayInterestRate
-
setRatepayInterestRate
public void setRatepayInterestRate(String ratepayInterestRate)
Interest rate of this installment.- Parameters:
ratepayInterestRate-
-
ratepayLastInstallmentAmount
public AdditionalDataRatepay ratepayLastInstallmentAmount(String ratepayLastInstallmentAmount)
Amount of the last installment.- Parameters:
ratepayLastInstallmentAmount-- Returns:
- the current
AdditionalDataRatepayinstance, allowing for method chaining
-
getRatepayLastInstallmentAmount
public String getRatepayLastInstallmentAmount()
Amount of the last installment.- Returns:
- ratepayLastInstallmentAmount
-
setRatepayLastInstallmentAmount
public void setRatepayLastInstallmentAmount(String ratepayLastInstallmentAmount)
Amount of the last installment.- Parameters:
ratepayLastInstallmentAmount-
-
ratepayPaymentFirstday
public AdditionalDataRatepay ratepayPaymentFirstday(String ratepayPaymentFirstday)
Calendar day of the first payment.- Parameters:
ratepayPaymentFirstday-- Returns:
- the current
AdditionalDataRatepayinstance, allowing for method chaining
-
getRatepayPaymentFirstday
public String getRatepayPaymentFirstday()
Calendar day of the first payment.- Returns:
- ratepayPaymentFirstday
-
setRatepayPaymentFirstday
public void setRatepayPaymentFirstday(String ratepayPaymentFirstday)
Calendar day of the first payment.- Parameters:
ratepayPaymentFirstday-
-
ratepaydataDeliveryDate
public AdditionalDataRatepay ratepaydataDeliveryDate(String ratepaydataDeliveryDate)
Date the merchant delivered the goods to the customer.- Parameters:
ratepaydataDeliveryDate-- Returns:
- the current
AdditionalDataRatepayinstance, allowing for method chaining
-
getRatepaydataDeliveryDate
public String getRatepaydataDeliveryDate()
Date the merchant delivered the goods to the customer.- Returns:
- ratepaydataDeliveryDate
-
setRatepaydataDeliveryDate
public void setRatepaydataDeliveryDate(String ratepaydataDeliveryDate)
Date the merchant delivered the goods to the customer.- Parameters:
ratepaydataDeliveryDate-
-
ratepaydataDueDate
public AdditionalDataRatepay ratepaydataDueDate(String ratepaydataDueDate)
Date by which the customer must settle the payment.- Parameters:
ratepaydataDueDate-- Returns:
- the current
AdditionalDataRatepayinstance, allowing for method chaining
-
getRatepaydataDueDate
public String getRatepaydataDueDate()
Date by which the customer must settle the payment.- Returns:
- ratepaydataDueDate
-
setRatepaydataDueDate
public void setRatepaydataDueDate(String ratepaydataDueDate)
Date by which the customer must settle the payment.- Parameters:
ratepaydataDueDate-
-
ratepaydataInvoiceDate
public AdditionalDataRatepay ratepaydataInvoiceDate(String ratepaydataInvoiceDate)
Invoice date, defined by the merchant. If not included, the invoice date is set to the delivery date.- Parameters:
ratepaydataInvoiceDate-- Returns:
- the current
AdditionalDataRatepayinstance, allowing for method chaining
-
getRatepaydataInvoiceDate
public String getRatepaydataInvoiceDate()
Invoice date, defined by the merchant. If not included, the invoice date is set to the delivery date.- Returns:
- ratepaydataInvoiceDate
-
setRatepaydataInvoiceDate
public void setRatepaydataInvoiceDate(String ratepaydataInvoiceDate)
Invoice date, defined by the merchant. If not included, the invoice date is set to the delivery date.- Parameters:
ratepaydataInvoiceDate-
-
ratepaydataInvoiceId
public AdditionalDataRatepay ratepaydataInvoiceId(String ratepaydataInvoiceId)
Identification name or number for the invoice, defined by the merchant.- Parameters:
ratepaydataInvoiceId-- Returns:
- the current
AdditionalDataRatepayinstance, allowing for method chaining
-
getRatepaydataInvoiceId
public String getRatepaydataInvoiceId()
Identification name or number for the invoice, defined by the merchant.- Returns:
- ratepaydataInvoiceId
-
setRatepaydataInvoiceId
public void setRatepaydataInvoiceId(String ratepaydataInvoiceId)
Identification name or number for the invoice, defined by the merchant.- Parameters:
ratepaydataInvoiceId-
-
equals
public boolean equals(Object o)
Return true if this AdditionalDataRatepay object is equal to o.
-
fromJson
public static AdditionalDataRatepay fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of AdditionalDataRatepay given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AdditionalDataRatepay
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to AdditionalDataRatepay
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of AdditionalDataRatepay to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-