PayoutMethodDetails
public enum PayoutMethodDetails : Codable, Sendable
Payout method details model.
-
Structure representing the bank account.
Declaration
Swift
case bankAccount(_: BankAccountDetails) -
Structure representing the cash pickup location.
Declaration
Swift
case cashPickupLocation(_: CashPickupLocationDetails) -
Structure representing the eletronic wallet.
Declaration
Swift
case electronicWallet(phoneNumber: String, emailAddress: String) -
Structure representing the credit/debit card.
Declaration
Swift
case card(pan: String) -
Structure representing the address.
Declaration
Swift
case address(_: PayoutMethodAddress) -
Empty or unknown.
Declaration
Swift
case none -
Creates a new instance by decoding from the given decoder.
Declaration
Swift
public init(from decoder: Decoder) throwsParameters
decoderThe decoder to read data from.
-
Encodes the instance by encoding to the given decoder.
Declaration
Swift
public func encode(to encoder: Encoder) throwsParameters
encoderThe encoder to write data to.
View on GitHub