Checkout Settings

  • Class which encapsulates settings for the built-in in-App payment page. Use this to customize both the visual elements of the payment pages as well as functionality. This includes changing colors and texts, defining payment methods.

    See more

    Declaration

    Objective-C

    @interface OPPCheckoutSettings : NSObject

    Swift

    class OPPCheckoutSettings : NSObject
  • Class which is used to apply security policy mode for the set of payment methods.

    See more

    Declaration

    Objective-C

    @interface OPPSecurityPolicy : NSObject

    Swift

    class OPPSecurityPolicy : NSObject
  • An enumeration for the possible modes of security policy.

    See more

    Declaration

    Objective-C

    enum OPPSecurityPolicyMode : NSInteger {}

    Swift

    enum OPPSecurityPolicyMode : Int, @unchecked Sendable
  • Class which used to visually style in-App payment pages by customizing colors and fonts. There are two ready to use styles. You can leave it as is or override some properties.

    See more

    Declaration

    Objective-C

    @interface OPPCheckoutTheme : NSObject

    Swift

    class OPPCheckoutTheme : NSObject
  • An enumeration of the in-App payment pages styles.

    See more

    Declaration

    Objective-C

    enum OPPCheckoutThemeStyle : NSInteger {}

    Swift

    enum OPPCheckoutThemeStyle : Int, @unchecked Sendable
  • An enumeration for the possible ways of automatic card brand detection

    See more

    Declaration

    Objective-C

    enum OPPCheckoutBrandDetectionType : NSInteger {}

    Swift

    enum OPPCheckoutBrandDetectionType : Int, @unchecked Sendable
  • An enumeration for the card brand detection appearance style

    See more

    Declaration

    Objective-C

    enum OPPCheckoutBrandDetectionAppearanceStyle : NSInteger {}

    Swift

    enum OPPCheckoutBrandDetectionAppearanceStyle : Int, @unchecked Sendable
  • An enumeration for the possible display modes of card brands on payment method selection screen.

    See more

    Declaration

    Objective-C

    enum OPPCheckoutCardBrandsDisplayMode : NSInteger {}

    Swift

    enum OPPCheckoutCardBrandsDisplayMode : Int, @unchecked Sendable
  • An enumeration for the possible modes to skip CVV check.

    See more

    Declaration

    Objective-C

    enum OPPCheckoutSkipCVVMode : NSInteger {}

    Swift

    enum OPPCheckoutSkipCVVMode : Int, @unchecked Sendable
  • An enumeration for the possible store payment details modes.

    See more

    Declaration

    Objective-C

    enum OPPCheckoutStorePaymentDetailsMode : NSInteger {}

    Swift

    enum OPPCheckoutStorePaymentDetailsMode : Int, @unchecked Sendable
  • Class to hold billing address of the customer.

    See more

    Declaration

    Objective-C

    @interface OPPBillingAddress : NSObject

    Swift

    class OPPBillingAddress : NSObject
  • Builder class for costructing billing address object.

    See more

    Declaration

    Objective-C

    @interface OPPBillingAddressBuilder : NSObject

    Swift

    class OPPBillingAddressBuilder : NSObject
  • Class to encapsulate configuration for MBWAY payment method.

    See more

    Declaration

    Objective-C

    @interface OPPMBWayConfig : NSObject

    Swift

    class OPPMBWayConfig : NSObject
  • Undocumented

    See more

    Declaration

    Objective-C

    @interface OPPWpwlOptions : NSObject
    
    /// @name Initialization
    
    /// :nodoc:
    - (instancetype)init NS_UNAVAILABLE;
    
    /**
     Creates an object representing a web-base solution wpwl configuration.
     
     @param stringConfiguration. Configuration as a string. Must be not `nil` or empty.
     @return Returns an object representing a web-base solution wpwl configuration.
     */
    + (nullable instancetype)initWithConfiguration:(NSString *)stringConfiguration;
    
    /**
     Creates an object representing a web-base solution wpwl configuration.
     
     @param stringConfiguration. Configuration as a string. Must be not `nil` or empty.
     @return Returns an object representing a web-base solution wpwl configuration.
     */
    - (nullable instancetype)initWithConfiguration:(NSString *)stringConfiguration;
    
    /**
     Creates an object representing a web-base solution wpwl configuration.
     
     @param configuration. Configuration dictionary. Must be not `nil` or empty.
     @param jsFunctions Additional JavaScript functions dictionary..
     @return Returns an object representing a web-base solution wpwl configuration.
     */
    + (nullable instancetype)initWithConfiguration:(NSDictionary<NSString *, id> *)configuration jsFunctions:(nullable NSDictionary<NSString *, NSString *> *)jsFunctions;
    
    /**
     Creates an object representing a web-base solution wpwl configuration.
     
     @param configuration. Configuration dictionary. Must be not `nil` or empty.
     @param jsFunctions Additional JavaScript functions dictionary..
     @return Returns an object representing a web-base solution wpwl configuration.
     */
    - (nullable instancetype)initWithConfiguration:(NSDictionary<NSString *, id> *)configuration jsFunctions:(nullable NSDictionary<NSString *, NSString *> *)jsFunctions;
    
    /**
     Dictionary of brand specific wpwl configuration.
     */
    @property (nonatomic, copy, readonly) NSDictionary<NSString *, id> *configuration;
    
    /**
     Dictionary of additional JavaScripts functions.
     */
    @property (nonatomic, copy, readonly) NSDictionary<NSString *, NSString *> *jsFunctions;
    
    @end

    Swift

    class OPPWpwlOptions : NSObject
  • Default country code value

    Declaration

    Objective-C

    extern NSString *const _Nonnull OPPMBWayConfigDefaultCountryCode

    Swift

    let OPPMBWayConfigDefaultCountryCode: String