View Source GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1Offer (google_api_cloud_channel v0.8.0)
Represents an offer made to resellers for purchase. An offer is associated with a Sku, has a plan for payment, a price, and defines the constraints for buying.
Attributes
-
constraints
(type:GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1Constraints.t
, default:nil
) - Constraints on transacting the Offer. -
dealCode
(type:String.t
, default:nil
) - The deal code of the offer to get a special promotion or discount. -
endTime
(type:DateTime.t
, default:nil
) - Output only. End of the Offer validity time. -
marketingInfo
(type:GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1MarketingInfo.t
, default:nil
) - Marketing information for the Offer. -
name
(type:String.t
, default:nil
) - Resource Name of the Offer. Format: accounts/{account_id}/offers/{offer_id} -
parameterDefinitions
(type:list(GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1ParameterDefinition.t)
, default:nil
) - Parameters required to use current Offer to purchase. -
plan
(type:GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1Plan.t
, default:nil
) - Describes the payment plan for the Offer. -
priceByResources
(type:list(GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1PriceByResource.t)
, default:nil
) - Price for each monetizable resource type. -
sku
(type:GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1Sku.t
, default:nil
) - SKU the offer is associated with. -
startTime
(type:DateTime.t
, default:nil
) - Start of the Offer validity time.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1Offer{ constraints: GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1Constraints.t() | nil, dealCode: String.t() | nil, endTime: DateTime.t() | nil, marketingInfo: GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1MarketingInfo.t() | nil, name: String.t() | nil, parameterDefinitions: [ GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1ParameterDefinition.t() ] | nil, plan: GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1Plan.t() | nil, priceByResources: [GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1PriceByResource.t()] | nil, sku: GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1Sku.t() | nil, startTime: DateTime.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.