Files
CustomPlugin/Libs/UMSPosPayOnly/UMSPPPayPluginSettings.h
2026-05-10 14:55:18 +08:00

60 lines
1.1 KiB
Objective-C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// UMSPluginSettings.h
// UMSPosPay
//
// Created by chinaums on 15/10/19.
// Copyright © 2015年 ChinaUMS. All rights reserved.
//
// sdk_version = 3.1.6
#import <Foundation/Foundation.h>
//1 是走apple 0是不走
//#define SHOULD_CONTAIN_APPLE_PAY_CODES 0
/*!
@enum
@abstract 交易环境
@constant UMSP_PROD 生产环境
@constant UMSP_TEST 测试环境
*/
typedef NS_ENUM(NSInteger, UMSPluginEnvironment) {
UMSP_PROD,
UMSP_TEST
};
/**
* 进入插件的方式
*/
typedef NS_ENUM(NSInteger, UMSPluginEnterType) {
///默认方式
UMSPluginEnterType_Default,
///C扫B方式
UMSPluginEnterType_ScanCode
};
@interface UMSPPPayPluginSettings : NSObject
+ (UMSPPPayPluginSettings *)sharedInstance;
/*!
@property
@abstract 设置交易环境默认UMSP_PROD
*/
@property (nonatomic, assign) UMSPluginEnvironment umspEnviroment;
/**
* 进入插件方式默认UMSPluginEnterType_Default
*/
@property (nonatomic, assign) UMSPluginEnterType umspEnterType;
/*!
@property
@abstract 设置是否需要启动页默认YES
*/
@property (nonatomic, assign) BOOL umspSplash;
@end