public static final class GetSubscriptionPriceResponseBody.Data.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
GetSubscriptionPriceResponseBody.Data |
build() |
GetSubscriptionPriceResponseBody.Data.Builder |
currency(String currency)
The type of currency.
|
GetSubscriptionPriceResponseBody.Data.Builder |
discountPrice(Float discountPrice)
The discount that was applied.
|
GetSubscriptionPriceResponseBody.Data.Builder |
moduleDetails(GetSubscriptionPriceResponseBody.ModuleDetails moduleDetails)
The price details of the pricing module.
|
GetSubscriptionPriceResponseBody.Data.Builder |
originalPrice(Float originalPrice)
The original price of the service.
|
GetSubscriptionPriceResponseBody.Data.Builder |
promotionDetails(GetSubscriptionPriceResponseBody.PromotionDetails promotionDetails)
The details of the discount.
|
GetSubscriptionPriceResponseBody.Data.Builder |
quantity(Integer quantity)
The quantity.
|
GetSubscriptionPriceResponseBody.Data.Builder |
tradePrice(Float tradePrice)
The discount price.
|
public GetSubscriptionPriceResponseBody.Data.Builder currency(String currency)
The type of currency. Valid values:
CNY
public GetSubscriptionPriceResponseBody.Data.Builder discountPrice(Float discountPrice)
The discount that was applied.
example:100
public GetSubscriptionPriceResponseBody.Data.Builder moduleDetails(GetSubscriptionPriceResponseBody.ModuleDetails moduleDetails)
The price details of the pricing module.
public GetSubscriptionPriceResponseBody.Data.Builder originalPrice(Float originalPrice)
The original price of the service.
example:900
public GetSubscriptionPriceResponseBody.Data.Builder promotionDetails(GetSubscriptionPriceResponseBody.PromotionDetails promotionDetails)
The details of the discount.
public GetSubscriptionPriceResponseBody.Data.Builder quantity(Integer quantity)
The quantity.
example:1
public GetSubscriptionPriceResponseBody.Data.Builder tradePrice(Float tradePrice)
The discount price.
example:0
public GetSubscriptionPriceResponseBody.Data build()
Copyright © 2026. All rights reserved.