PaymentOption
public class PaymentOption : Codable
Definition of payment method:
- payment type.
- the ways of its confirmation.
- the availability and Commission rate to the buyer.
-
Type of the source of funds for the payment.
- Example: bank_card
Declaration
Swift
public let paymentMethodType: PaymentMethodType
-
List of possible methods of payment confirmation. If payment confirmation is not required, the field is missing. Read more about the scenarios of confirmation of payment by the buyer.
- Example: redirect
Declaration
Swift
public let confirmationType: ConfirmationType?
-
The amount to be paid by the buyer subject to possible currency conversion and additional fees in excess of the payment amount.
Declaration
Swift
public let charge: MonetaryAmount
-
Required type of user identification.
Declaration
Swift
public let identificationRequirement: IdentificationRequirement?
-
Creates instance of
PaymentOption
.Declaration
Swift
public init(paymentMethodType: PaymentMethodType, confirmationType: ConfirmationType?, charge: MonetaryAmount, identificationRequirement: IdentificationRequirement?)
Parameters
paymentMethodType
Type of the source of funds for the payment.
confirmationType
List of possible methods of payment confirmation. If payment confirmation is not required, the field is missing. Read more about the scenarios of confirmation of payment by the buyer.
Return Value
Instance of
PaymentOption