ExternalPaymentDetails

class ExternalPaymentDetails(val type: String, val source: String, val sourceId: String? = null, val sourceFeeMoney: Money? = null)

Holder class for external payment data.

Constructors

Link copied to clipboard
constructor(type: String, source: String, sourceId: String? = null, sourceFeeMoney: Money? = null)

Types

Link copied to clipboard
class Builder(type: String, source: String, sourceId: String?, sourceFeeMoney: Money?)

Lets developers create and configure external details for automated testing.

Properties

Link copied to clipboard

A description of the external payment source. For example, "Food Delivery Service".

Link copied to clipboard
val sourceFeeMoney: Money? = null

The fees paid to the source. The amountMoney minus this field is the net amount seller receives.

Link copied to clipboard
val sourceId: String? = null

An ID provided by the developer to associate the payment to its originating source.

Link copied to clipboard

The type of external payment the seller received. See ExternalTenderType.