Restriction interface

The restriction because of which SKU cannot be used.

Properties

reasonCode

The reason for the restriction.

type

The type of restrictions. As of now only possible value for this is location. NOTE: This property will not be serialized. It can only be populated by the server.

values

The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted. NOTE: This property will not be serialized. It can only be populated by the server.

Property Details

reasonCode

The reason for the restriction.

reasonCode?: string

Property Value

string

type

The type of restrictions. As of now only possible value for this is location. NOTE: This property will not be serialized. It can only be populated by the server.

type?: string

Property Value

string

values

The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted. NOTE: This property will not be serialized. It can only be populated by the server.

values?: string[]

Property Value

string[]