Skip to content

OrderProps

Properties for defining a Order.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-marketplace-order

Initializer

import { OrderProps } from '@alicloud/ros-cdk-marketplace'
const orderProps: OrderProps = { ... }

Properties

Name Type Description
productCode string | @alicloud/ros-cdk-core.IResolvable Property productCode: Product code for the resource.
skuCode string | @alicloud/ros-cdk-core.IResolvable Property skuCode: Sku code for the resource.
chargeType string | @alicloud/ros-cdk-core.IResolvable Property chargeType: The resource charge type.
duration number | @alicloud/ros-cdk-core.IResolvable Property duration: Duration of the resource.
preference @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any} Property preference: Customized parameters.
pricingCycle string | @alicloud/ros-cdk-core.IResolvable Property pricingCycle: Price cycle of the resource.
quantity number | @alicloud/ros-cdk-core.IResolvable Property quantity: Resource number.

productCodeRequired

public readonly productCode: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property productCode: Product code for the resource.


skuCodeRequired

public readonly skuCode: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property skuCode: Sku code for the resource.


chargeTypeOptional

public readonly chargeType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property chargeType: The resource charge type.

Default value is Prepaid


durationOptional

public readonly duration: number | IResolvable;
  • Type: number | @alicloud/ros-cdk-core.IResolvable

Property duration: Duration of the resource.

If ChargeType is specified as Postpaid, this value will be ignore.


preferenceOptional

public readonly preference: IResolvable | {[ key: string ]: any};
  • Type: @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any}

Property preference: Customized parameters.


pricingCycleOptional

public readonly pricingCycle: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property pricingCycle: Price cycle of the resource.

This property has no default value. If ChargeType is specified as Postpaid, this value will be ignore.


quantityOptional

public readonly quantity: number | IResolvable;
  • Type: number | @alicloud/ros-cdk-core.IResolvable

Property quantity: Resource number.

Default value is 1