NPIMerchantInfo

Deprecated

Objective-C


@interface NPIMerchantInfo : NSObject

Swift

class NPIMerchantInfo : NSObject

Class used to encapsulate merchant identification

  • Uniquely identifies the merchant.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) NSString *_Nonnull identifier;

    Swift

    var identifier: String { get }
  • Inform SDK of using Netaxept’s test environment

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL testMode;

    Swift

    var testMode: Bool { get }
  • Inform SDK of making payments without Security Code

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL cvcRequired;

    Swift

    var cvcRequired: Bool { get }
  • Declaration

    Objective-C

    - (instancetype _Nonnull)initWithIdentifier:(NSString *_Nonnull)identifier;

    Swift

    init(identifier: String)

    Parameters

    identifier

    Merchant id provided by Nets. Must not be nil.

  • Declaration

    Objective-C

    - (instancetype _Nonnull)initWithIdentifier:(NSString *_Nonnull)identifier
                                       testMode:(BOOL)testMode;

    Swift

    init(identifier: String, testMode: Bool)

    Parameters

    identifier

    Merchant id provided by Nets. Must not be nil.

    testMode

    Default is false, set it to true to use Netaxept’s test environment

  • Declaration

    Objective-C

    - (instancetype _Nonnull)initWithIdentifier:(NSString *_Nonnull)identifier
                                       testMode:(BOOL)testMode
                                    cvcRequired:(BOOL)cvcRequired;

    Swift

    init(identifier: String, testMode: Bool, cvcRequired: Bool)

    Parameters

    identifier

    Merchant id provided by Nets. Must not be nil.

    testMode

    Default is false, set it to true to use Netaxept’s test environment

    cvcRequired

    Default is true, set it to false to make payments without Security Code Important: Note that disabling Security Code entry by setting cvcRequired=False is submitted to both approval from your acquirer and activation by Netaxept customer service. Before proceeding, please contact your Netaxept customer service.