RQHTTPService+RQApplePay.h 694 B

123456789101112131415161718192021222324252627
  1. //
  2. // RQHTTPService+RQApplePay.h
  3. // jiaPei
  4. //
  5. // Created by 张嵘 on 2022/9/26.
  6. // Copyright © 2022 JCZ. All rights reserved.
  7. //
  8. #import "RQHTTPService.h"
  9. #define RQ_POST_ApplePay @"https://jsjp-admin.zzxcx.net/jsjp-admin/open-api/applepay"
  10. NS_ASSUME_NONNULL_BEGIN
  11. @interface RQHTTPService (RQApplePay)
  12. /**
  13. APP内购
  14. @param receiptData 验证参数
  15. @param transactionIdentifier transactionId
  16. @param type 类型 0-正式环境 1-沙盒测试
  17. @return Returns a signal which will send complete, or error.
  18. */
  19. - (RACSignal *)postApplePayWithReceiptData:(NSData *)receiptData transactionIdentifier:(NSString *)transactionIdentifier type:(NSInteger)type;
  20. @end
  21. NS_ASSUME_NONNULL_END