PaymentInstrumentDataYandexMoneyLinkedBankCard
public class PaymentInstrumentDataYandexMoneyLinkedBankCard : PaymentMethodData
Data for payment via Yandex.Money from the attached Bank card.
-
The type of the source of funds for payments from the Yandex.Money.
Declaration
Swift
public let instrumentType: YandexMoneyInstrumentType
-
ID card.
Declaration
Swift
public let cardId: String
-
The CVC2 or CVV2 code, 3 or 4 characters, is printed on the back of the card.
Declaration
Swift
public let csc: String
-
Yandex Money authorization header.
Declaration
Swift
public let walletAuthorization: String
-
Creates instance of
PaymentInstrumentDataYandexMoneyLinkedBankCard
.Declaration
Swift
public init(instrumentType: YandexMoneyInstrumentType, cardId: String, csc: String, walletAuthorization: String)
Parameters
instrumentType
Type of the source of funds for the payment.
cardId
ID card.
csc
The CVC2 or CVV2 code, 3 or 4 characters, is printed on the back of the card.
walletAuthorization
Yandex Money authorization header.
Return Value
Instance of
PaymentInstrumentDataYandexMoneyLinkedBankCard
. -
Creates custom headers.
Declaration
Swift
public override func customHeaders() -> Headers
-
Creates a new instance by decoding from the given decoder. This initializer throws an error if reading from the decoder fails, or if the data read is corrupted or otherwise invalid.
Declaration
Swift
required convenience public init(from decoder: Decoder) throws
Parameters
decoder
The decoder to read data from.