TermsOfUse

data class TermsOfUse(val paymentAmountType: PaymentConsentOptions.PaymentAmountType, val fixedPaymentAmount: BigDecimal? = null, val maxPaymentAmount: BigDecimal? = null, val minPaymentAmount: BigDecimal? = null, val firstPaymentAmount: BigDecimal? = null, val paymentCurrency: String? = null, val billingCycleChargeDay: Int? = null, val startDate: String? = null, val endDate: String? = null, val totalBillingCycles: Int? = null, val paymentSchedule: PaymentConsentOptions.PaymentSchedule? = null) : AirwallexRequestModel, Parcelable

Constructors

Link copied to clipboard
constructor(paymentAmountType: PaymentConsentOptions.PaymentAmountType, fixedPaymentAmount: BigDecimal? = null, maxPaymentAmount: BigDecimal? = null, minPaymentAmount: BigDecimal? = null, firstPaymentAmount: BigDecimal? = null, paymentCurrency: String? = null, billingCycleChargeDay: Int? = null, startDate: String? = null, endDate: String? = null, totalBillingCycles: Int? = null, paymentSchedule: PaymentConsentOptions.PaymentSchedule? = null)

Properties

Link copied to clipboard

The granularity per billing cycle. Required when payment_schedule.period_unit is WEEK, MONTH, or YEAR

Link copied to clipboard
val endDate: String? = null

End date to expect payment request (ISO8601 format)

Link copied to clipboard

The first payment amount. Optional if payment agreement type is VARIABLE

Link copied to clipboard

The fixed payment amount that can be charged for a single payment. Required if payment_amount_type is FIXED

Link copied to clipboard

The maximum payment amount that can be charged for a single payment. Optional if payment_amount_type is VARIABLE

Link copied to clipboard

The minimum payment amount that can be charged for a single payment. Optional if payment_amount_type is VARIABLE

Link copied to clipboard

The agreed type of amounts for subsequent payment (required)

Link copied to clipboard
val paymentCurrency: String? = null

The currency of this payment

Link copied to clipboard

Payment schedule details (optional)

Link copied to clipboard
open val sdkType: String
Link copied to clipboard
open val sdkVersion: String
Link copied to clipboard
val startDate: String? = null

Start date to expect payment request (ISO8601 format)

Link copied to clipboard
val totalBillingCycles: Int? = null

Total number of billing cycles

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
open override fun toParamMap(): Map<String, Any>
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)