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. |
productCode
Required
public readonly productCode: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property productCode: Product code for the resource.
skuCode
Required
public readonly skuCode: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property skuCode: Sku code for the resource.
chargeType
Optional
public readonly chargeType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property chargeType: The resource charge type.
Default value is Prepaid
duration
Optional
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.
preference
Optional
public readonly preference: IResolvable | {[ key: string ]: any};
- Type: @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any}
Property preference: Customized parameters.
pricingCycle
Optional
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.
quantity
Optional
public readonly quantity: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property quantity: Resource number.
Default value is 1