Payment

public struct Payment

Describes the current payment.

  • Describes the amount of a payment.

    See more

    Declaration

    Swift

    public struct Amount
  • The amount for this payment.

    Declaration

    Swift

    public var amount: Amount
  • The code of the country in which the payment is made.

    Declaration

    Swift

    public var countryCode: String?
  • Initializes a payment.

    Declaration

    Swift

    public init(amount: Amount, countryCode: String? = nil)

    Parameters

    amount

    The amount for this payment.

    countryCode

    The code of the country in which the payment is made.