MLPayment Class Reference

Inherits from NSObject
Declared in MLPayment.h

Overview

The represent of payment infomation.

  channel

(Required) The channel of disbursement. Default is MLPayChannelNone.

@property (nonatomic) MLPayChannel channel

Declared In

MLPayment.h

  billNo

(Required) The bill number of the payment, unique in your merchant system.

@property (nonatomic, copy) NSString *billNo

Declared In

MLPayment.h

  totalFee

(Required) The total fee of this payment, in cent.

@property (nonatomic) NSInteger totalFee

Declared In

MLPayment.h

  subject

(Required) The brief description of this payment.

@property (nonatomic, copy) NSString *subject

Declared In

MLPayment.h

  extraAttrs

(Optional) Some extra attributes.

@property (nonatomic, strong, readonly) NSMutableDictionary *extraAttrs

Declared In

MLPayment.h

  scheme

(Optional, Required by alipay_app and unionpay_app) The scheme used by alipay.

@property (nonatomic, copy, nullable) NSString *scheme

Declared In

MLPayment.h

  returnUrl

(Optional, Required by unionpay channels) The return url used by unionpay;

@property (nonatomic, copy, nullable) NSString *returnUrl

Declared In

MLPayment.h