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

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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

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

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.