PriceInfo

Updated at:
Copy as MD

Parameter

Type

Description

Example

object

The pricing and discount details.

currency

string

The currency of the price.

CNY

discountAmount

string

The discount amount.

20.0000

optionalPromotions

array

The list of optional promotions.

PromotionInfo

The information about a single optional promotion.

originalAmount

string

The original amount.

100.0000

priceModules

array

The pricing details by module.

object

The details of a single pricing module.

originalAmount

string

The original amount of the module.

100.0000

type

string

The type of the pricing module.

worker

rules

array

The list of discount rules.

object

The details of a single discount rule.

amount

string

The discount amount for the rule.

20.0000

name

string

The name of the discount rule.

Sample discount rule

ruleId

string

The ID of the discount rule.

100001

taxAmount

string

The tax amount.

0.0000

tradeAmount

string

The final transaction amount.

80.0000