PaymentAgreement

Properties of a Payment Agreement

interface PaymentAgreement : Serializable

Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

allowed
Link copied to clipboard

A flag to indicate if the merchant profile in the container allows the use of this payment agreement.

abstract val allowed: Boolean?
cardSuffix
Link copied to clipboard

The suffix (last 4 digits) of the credit card number.

abstract val cardSuffix: String?
chargeAmount
Link copied to clipboard

The amount that will be charged at the frequency specified in the payment agreement.

abstract val chargeAmount: BigDecimal
chargeCycle
Link copied to clipboard

The current charge cycle number.

abstract val chargeCycle: BigDecimal
chargeFrequency
Link copied to clipboard

The payment agreement charge frequency.

abstract val chargeFrequency: PaymentAgreementChargeFrequency
createdOn
Link copied to clipboard

The timestamp for when the payment instrument was added. The timestamp format is ISO8601.

abstract val createdOn: OffsetDateTime?
description
Link copied to clipboard

A description of the payment agreement

abstract val description: String?
endDate
Link copied to clipboard

The payment agreement end date and time. The timestamp format is ISO8601.

abstract val endDate: OffsetDateTime?
expired
Link copied to clipboard

A flag to indicate if the payment agreement is expired.

abstract val expired: Boolean?
expiryMonth
Link copied to clipboard

The month of the expiry date of the credit card.

abstract val expiryMonth: String?
expiryYear
Link copied to clipboard

The year of the expiry date of the credit card.

abstract val expiryYear: String?
lastUpdated
Link copied to clipboard

The timestamp the payment agreement was last updated in the container. The timestamp format is ISO8601.

abstract val lastUpdated: OffsetDateTime?
lastUsed
Link copied to clipboard

The timestamp the payment agreement was last used in the container. The timestamp format is ISO8601. Will be null if never used.

abstract val lastUsed: OffsetDateTime?
paymentInstrumentId
Link copied to clipboard

The payment agreement payment instrument id that will be used for the charges.

abstract val paymentInstrumentId: String
paymentToken
Link copied to clipboard

The payment token of the payment agreement. The payment token is a unique identifier for the payment agreement.

abstract val paymentToken: String
primary
Link copied to clipboard

A flag to indicate if this payment instrument is the primary instrument in the container. Not used for payment agreements.

abstract val primary: Boolean?
scheme
Link copied to clipboard

The credit card scheme.

abstract val scheme: String?
startDate
Link copied to clipboard

The payment agreement start date and time. The timestamp format is ISO8601.

abstract val startDate: OffsetDateTime?
status
Link copied to clipboard

The status of the payment agreement in the container.

abstract val status: PaymentInstrumentStatus
stepUp
Link copied to clipboard
abstract val stepUp: PaymentAgreementStepUp?
type
Link copied to clipboard

The payment agreement type.

abstract val type: PaymentAgreementType
updateURL
Link copied to clipboard

The URL of the endpoint to use to update the payment agreement.

abstract val updateURL: String