LMPaymentStorage Class Reference
Inherits from | NSObject |
---|---|
Declared in | LMPaymentStorage.h LMPaymentStorage.m |
– saveDataForOrderID:transactionID:
将用户支付完的交易数据作持久化存储
- (void)saveDataForOrderID:(NSString *)orderID transactionID:(NSString *)transactionID
Parameters
orderID |
订单ID |
---|---|
transactionID |
交易ID |
Declared In
LMPaymentStorage.h
– removeDataForTransationID:uid:
移除交易ID对应的持久化数据
- (void)removeDataForTransationID:(NSString *)transactionID uid:(NSString *)uid
Parameters
transactionID |
交易ID |
---|---|
uid |
档位数据对应UID |
Declared In
LMPaymentStorage.h
– getOrderIDForTransationID:
获取交易ID对应的订单ID,如果订单ID不是当前用户创建,则返回nil
- (NSString *)getOrderIDForTransationID:(NSString *)transactionID
Parameters
transactionID |
交易ID |
---|
Declared In
LMPaymentStorage.h
– getUidForTransationID:
获取交易ID对应的订单UID,获取不到则返回nil
- (NSString *)getUidForTransationID:(NSString *)transactionID
Parameters
transactionID |
交易ID |
---|
Declared In
LMPaymentStorage.h
– transationStatusForUser:
当前登陆用户与对应交易的从属关系
- (TransationForUser)transationStatusForUser:(NSString *)transactionID
Parameters
transactionID |
交易ID |
---|
Declared In
LMPaymentStorage.h