Payment

public protocol Payment

Properties common to all Payments and Payment Requests

  • The ID of this payment request

    Declaration

    Swift

    var paymentRequestId: String { get }
  • The unique reference for the payment as defined by the Merchant

    Declaration

    Swift

    var merchantReferenceId: String { get }
  • The gross amount to be paid. Must be positive except for refunds

    Declaration

    Swift

    var grossAmount: Decimal { get }