Transfer
data class Transfer(val id: String?, val status: TransferStatus?, val amount: Int?, val currency: String?, val description: String?, val payout: String?, val metadata: Map<String, String>?, val livemode: Boolean?, val created: Int?, val transferObject: String?, val platformFee: Int?, val frameFee: Int?, val totalFees: Int?, val grossAmount: Int?, val netAmount: Int?, val failureReason: String?, val chargeIntent: String?, val billingAgreement: String?, val sourcePaymentMethod: FrameObjects.PaymentMethod?, val destinationPaymentMethod: FrameObjects.PaymentMethod?)
Represents a transfer between payment methods returned by the Frame API.
Constructors
Link copied to clipboard
constructor(id: String?, status: TransferStatus?, amount: Int?, currency: String?, description: String?, payout: String?, metadata: Map<String, String>?, livemode: Boolean?, created: Int?, transferObject: String?, platformFee: Int?, frameFee: Int?, totalFees: Int?, grossAmount: Int?, netAmount: Int?, failureReason: String?, chargeIntent: String?, billingAgreement: String?, sourcePaymentMethod: FrameObjects.PaymentMethod?, destinationPaymentMethod: FrameObjects.PaymentMethod?)
Properties
Link copied to clipboard
Identifier of the billing agreement associated with this transfer, if any.
Link copied to clipboard
Identifier of the charge intent associated with this transfer, if any.
Link copied to clipboard
Optional description provided when the transfer was created.
Link copied to clipboard
@SerializedName(value = "destination_payment_method" )
The payment method funds were pushed to.
Link copied to clipboard
Human-readable reason why this transfer failed, or null if not failed.
Link copied to clipboard
Total amount before fees, in the smallest currency unit.
Link copied to clipboard
Fee retained by the merchant's platform, in the smallest currency unit.
Link copied to clipboard
@SerializedName(value = "source_payment_method" )
The payment method funds were pulled from.
Link copied to clipboard
The current lifecycle status of this transfer.
Link copied to clipboard
The object type string returned by the API (e.g., "transfer").