GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1CustomerConstraints (google_api_cloud_channel v0.2.0) View Source

Represents constraints required to purchase the Offer for a customer.

Attributes

  • allowedCustomerTypes (type: list(String.t), default: nil) - Allowed Customer Type.
  • allowedRegions (type: list(String.t), default: nil) - Allowed geographical regions of the customer.
  • promotionalOrderTypes (type: list(String.t), default: nil) - Allowed Promotional Order Type. Present for Promotional offers.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1CustomerConstraints{
  allowedCustomerTypes: [String.t()] | nil,
  allowedRegions: [String.t()] | nil,
  promotionalOrderTypes: [String.t()] | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.