OPPAfterPayPaymentParams

@objc
final public class OPPAfterPayPaymentParams : OPPPaymentParams, NSCopying

Class to encapsulate all necessary transaction parameters for performing Afterpay Payments transaction.

  • Creates an object representing an Afterpay pacific params.

    Throws

    The error that occurred while validating payment parameters. See code attribute (OPPErrorCode) and NSLocalizedDescription to identify the reason of failure.

    Declaration

    Swift

    @objc
    public init(checkoutID: String) throws

    Parameters

    checkoutID

    The checkout ID of the transaction. Must be not nil or empty.

    Return Value

    An object representing an Afterpay payment params.

  • Creates an object representing an Afterpay pacific params.

    Throws

    The error that occurred while validating payment parameters. See code attribute (OPPErrorCode) and NSLocalizedDescription to identify the reason of failure.

    Declaration

    Swift

    @objc
    public static func afterPayPaymentParams(checkoutID: String) throws -> OPPAfterPayPaymentParams

    Parameters

    checkoutID

    The checkout ID of the transaction. Must be not nil or empty.

    Return Value

    An object representing an Afterpay payment params.