Price

Prev Next

Available in Classic and VPC

This is the pricing plan information.

Syntax

The syntax is as follows.

private String priceNo;
private CommonCode priceType;
private Region region;
private CommonCode chargingUnitType;
private CommonCode ratingUnitType;
private String chargingUnitBasicValue;
private CommonCode productRatingType;
private CommonCode unit;
private Double price;
private CommonCode conditionType;
private Double conditionPrice;
private String priceDescription;
private CommonCode freeUnit;
private Long freeValue;
private CommonCode meteringUnit;
private Date startDate;
private CommonCode priceAttribute;
private String priceVersionName;
private CommonCode payCurrency;
private List<PeriodUnit> periodUnitList;
private List<CountryUnit> countryUnitList;
private List<PackageUnit> packageUnitList;

Field

The following describes the fields.

Field Type Required Description
priceNo String Required Price number
priceType CommonCode Required Pricing plan type code
  • FREE | FXSUM | MTRAT
    • FREE: free
    • FXSUM: monthly flat rate
    • MTRAT: pay-as-you-go plan
region Region Required Region
chargingUnitType CommonCode Required Charging metrics
  • QUERY | TIME | TMCU | USER
    • QUERY: query
    • TIME: time
    • TMCU (Time and vCPU Count): time and vCPU count
    • USER: number of guaranteed members
ratingUnitType CommonCode Required Charing unit type code
  • CNTRY | POINT | SECT | PKG
    • CNTRY: country plans (different pricing plans apply per country)
    • POINT: per point (pay-as-you-go)
    • SECT: tiered plans (tiered pricing applies separately)
    • PKG: package plans (free usage applies per product charge type code described in the package)
chargingUnitBasicValue String Required Charging unit type value
  • Number corresponding to the charging metric code value
productRatingType CommonCode Required Product charge type
unit CommonCode Required Unit
price Double Required Price
conditionType CommonCode Required Condition unit
conditionPrice Double Required Condition pricing
priceDescription String Required Pricing description
freeUnit CommonCode Required Free unit
freeValue Long Required Free value
meteringUnit CommonCode Required Metering unit
startDate Date Required Sales start date and time
priceAttribute CommonCode Required Pricing plan attribute
priceVersionName String Required Pricing plan version name
payCurrency CommonCode Required Payment currency
periodUnitList List<PeriodUnit> Required Tier unit list
countryUnitList List<CountryUnit> Required Country unit list
packageUnitList List<PackageUnit> Required Package unit list