# ExternalPaymentDetails

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

Holder class for external payment data.

## Constructors

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

## Types

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

Lets developers create and configure external details for automated testing.

ExternalTenderType
Link copied to clipboard
enum ExternalTenderType : Enum<ExternalPaymentDetails.ExternalTenderType>

## Properties

source
Link copied to clipboard
val source: String

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

sourceFeeMoney
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.

sourceId
Link copied to clipboard
val sourceId: String? = null

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

type
Link copied to clipboard
val type: String

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