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 boolean
boolean
Amount 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.int
hashCode()
void
Amount that will be collected.void
setAmountType
(String amountType) The type of amount that will be collected.void
setEndDate
(String endDate) Date, in YYYY-MM-DD format, after which payments will not be collected.void
setPaymentSchedule
(String paymentSchedule) The periodicity at which payments will be collected.void
setPaymentsPerPeriod
(Long paymentsPerPeriod) The number of payments that will be made during a payment period.void
setPurpose
(String purpose) The purpose for which payments are made.void
setStartDate
(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_type
isfixed
. -
getAmountType
The type of amount that will be collected. The amount charged must be exact or up to the value ofamount
param forfixed
ormaximum
type 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_schedule
isadhoc
. 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_type
isfixed
. -
setAmountType
The type of amount that will be collected. The amount charged must be exact or up to the value ofamount
param forfixed
ormaximum
type 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_schedule
isadhoc
. 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()
-