Package com.stripe.model
Class Mandate.PaymentMethodDetails.Payto
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.Mandate.PaymentMethodDetails.Payto
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Mandate.PaymentMethodDetails
For more details about Payto, please refer to the API
Reference.
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanAmount that will be collected.The type of amount that will be collected.Date, in YYYY-MM-DD format, after which payments will not be collected.The periodicity at which payments will be collected.The number of payments that will be made during a payment period.The purpose for which payments are made.Date, in YYYY-MM-DD format, from which payments will be collected.inthashCode()voidAmount that will be collected.voidsetAmountType(String amountType) The type of amount that will be collected.voidsetEndDate(String endDate) Date, in YYYY-MM-DD format, after which payments will not be collected.voidsetPaymentSchedule(String paymentSchedule) The periodicity at which payments will be collected.voidsetPaymentsPerPeriod(Long paymentsPerPeriod) The number of payments that will be made during a payment period.voidsetPurpose(String purpose) The purpose for which payments are made.voidsetStartDate(String startDate) Date, in YYYY-MM-DD format, from which payments will be collected.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
Payto
public Payto()
-
-
Method Details
-
getAmount
Amount that will be collected. It is required whenamount_typeisfixed. -
getAmountType
The type of amount that will be collected. The amount charged must be exact or up to the value ofamountparam forfixedormaximumtype respectively.One of
fixed, ormaximum. -
getEndDate
Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date. -
getPaymentSchedule
The periodicity at which payments will be collected.One of
adhoc,annual,daily,fortnightly,monthly,quarterly,semi_annual, orweekly. -
getPaymentsPerPeriod
The number of payments that will be made during a payment period. Defaults to 1 except for whenpayment_scheduleisadhoc. In that case, it defaults to no limit. -
getPurpose
The purpose for which payments are made. Defaults to retail.One of
dependant_support,government,loan,mortgage,other,pension,personal,retail,salary,tax, orutility. -
getStartDate
Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time. -
setAmount
Amount that will be collected. It is required whenamount_typeisfixed. -
setAmountType
The type of amount that will be collected. The amount charged must be exact or up to the value ofamountparam forfixedormaximumtype respectively.One of
fixed, ormaximum. -
setEndDate
Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date. -
setPaymentSchedule
The periodicity at which payments will be collected.One of
adhoc,annual,daily,fortnightly,monthly,quarterly,semi_annual, orweekly. -
setPaymentsPerPeriod
The number of payments that will be made during a payment period. Defaults to 1 except for whenpayment_scheduleisadhoc. In that case, it defaults to no limit. -
setPurpose
The purpose for which payments are made. Defaults to retail.One of
dependant_support,government,loan,mortgage,other,pension,personal,retail,salary,tax, orutility. -
setStartDate
Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time. -
equals
-
canEqual
-
hashCode
public int hashCode()
-