银联支付插件

This commit is contained in:
zhouyanli
2026-06-04 17:55:18 +08:00
parent a8e3d1f875
commit d26bd4e86b
46 changed files with 1769 additions and 0 deletions

View File

@@ -0,0 +1,59 @@
//
// UMSPluginSettings.h
// UMSPosPay
//
// Created by chinaums on 15/10/19.
// Copyright © 2015年 ChinaUMS. All rights reserved.
//
// sdk_version = 3.1.8
#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