Payment

public struct Payment

Describes the current payment.

  • The amount for this payment.

    Declaration

    Swift

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

    Declaration

    Swift

    public let countryCode: String
  • Initializes a payment.

    Declaration

    Swift

    public init(amount: Amount, countryCode: String)

    Parameters

    amount

    The amount for this payment.

    countryCode

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