MLOrder Class Reference

Inherits from NSObject
Declared in MLOrder.h

Overview

MLOrder represents a transaction.

  orderId

Order id.

@property (readonly, nonatomic) NSString *orderId

Declared In

MLOrder.h

  billNo

bill number

@property (readonly, nonatomic) NSString *billNo

Declared In

MLOrder.h

  channel

pay channel

@property (readonly, nonatomic) MLPayChannel channel

Declared In

MLOrder.h

  currency

currency type

@property (readonly, nonatomic) NSString *currency

Declared In

MLOrder.h

  money

total fee description

@property (readonly, nonatomic) NSString *money

Declared In

MLOrder.h

  totalFee

number of total fee, in cent.

@property (readonly, nonatomic) NSInteger totalFee

Declared In

MLOrder.h

  status

Status of the order. It has three values, “created”, “pay”, “refund”.

@property (readonly, nonatomic) NSString *status

Declared In

MLOrder.h

  infoDictionary

Original data of the order.

@property (readonly, nonatomic) NSDictionary *infoDictionary

Declared In

MLOrder.h

+ orderFromDictionary:

Create a MLOrder instance using a given dictionary.

+ (instancetype)orderFromDictionary:(NSDictionary *)dictionary

Parameters

dictionary

Original data of the order.

Return Value

An instance of MLOrder.

Declared In

MLOrder.h