RequestBody class

Constructors

RequestBody({String terminalType = 'APP', required String merchantTradeNo, required String orderAmount, required String currency, required String goodsType, required String goodsCategory, required String referenceGoodsId, required String goodsName, required String goodsDetail})

Properties

currency ↔ String
currency represents the order currency in upper case. Only "BUSD", "USDT", "MBOX" can be accepted,
getter/setter pair
goodsCategory ↔ String
A string representing the category of goods for a payment order.
getter/setter pair
goodsDetail ↔ String
Detailed description of the goods being purchased.
getter/setter pair
goodsName ↔ String
The name of the goods being purchased.
getter/setter pair
goodsType ↔ String
Represents the type of goods for an order in a Binance Pay transaction.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
merchantTradeNo ↔ String
The order id for the request.
getter/setter pair
orderAmount ↔ String
The amount of the order to be paid in decimal format with 8 decimal places.
getter/setter pair
referenceGoodsId ↔ String
The unique ID to identify the goods.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
terminalType → String
This parameter specifies the terminal type of the merchant service. The following are the valid values for this parameter:
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited