OPPBaseCardPaymentParams

@interface OPPBaseCardPaymentParams : OPPPaymentParams

Class to represent a set of base parameters for common and tokenized cards.

  • CVV

    The CVV code found on the card. Property should be set, if CVV check is required for transaction processing.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSString *CVV;

    Swift

    var cvv: String? { get }
  • The number of installments the payment should be split into.

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) NSNumber *numberOfInstallments;

    Swift

    @NSCopying var numberOfInstallments: NSNumber? { get set }
  • The params needed for 3-D Secure 2 authentication request.

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) NSString *threeDS2AuthParams;

    Swift

    var threeDS2AuthParams: String? { get set }
  • Checks if the card CVV is filled with sufficient data to perform a transaction.

    Declaration

    Objective-C

    + (BOOL)isCvvValid:(nonnull NSString *)CVV;

    Swift

    class func isCvvValid(_ CVV: String) -> Bool

    Parameters

    CVV

    The card security code or CVV.

    Return Value

    YES if 3,4-digit number is provided.