PartialPaymentOrder

public struct PartialPaymentOrder : Codable, Equatable

Describes a partial payment order, for partial payments.

  • A compact version of PartialPaymentOrder.

    See more

    Declaration

    Swift

    public struct CompactOrder : Encodable, Equatable
  • A compact version of PartialPaymentOrder.

    Declaration

    Swift

    public let compactOrder: CompactOrder
  • The psp reference.

    Declaration

    Swift

    public let pspReference: String
  • The order data.

    Declaration

    Swift

    public let orderData: String?
  • A unique reference to the payment.

    Declaration

    Swift

    public let reference: String?
  • The initial amount of the order.

    Declaration

    Swift

    public let amount: Amount?
  • The remaining amount to be paid.

    Declaration

    Swift

    public let remainingAmount: Amount?
  • The expirey date.

    Declaration

    Swift

    public let expiresAt: Date?
  • Initializes a payment order.

    Declaration

    Swift

    public init(pspReference: String,
                orderData: String?,
                reference: String? = nil,
                amount: Amount? = nil,
                remainingAmount: Amount? = nil,
                expiresAt: Date? = nil)

    Parameters

    pspReference

    The psp reference.

    orderData

    The order data.

    reference

    A unique reference to the payment.

    amount

    The initial amount of the order.

    remainingAmount

    The remaining amount to be paid.

    expiresAt

    The expirey date.