class Google::Apis::CloudchannelV1::GoogleCloudChannelV1Plan

The payment plan for the Offer. Describes how to make a payment.

Attributes

billing_account[RW]

Reseller Billing account to charge after an offer transaction. Only present for Google Cloud Platform offers. Corresponds to the JSON property `billingAccount` @return [String]

payment_cycle[RW]

Represents period in days/months/years. Corresponds to the JSON property `paymentCycle` @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1Period]

payment_plan[RW]

Describes how a reseller will be billed. Corresponds to the JSON property `paymentPlan` @return [String]

payment_type[RW]

Specifies when the payment needs to happen. Corresponds to the JSON property `paymentType` @return [String]

trial_period[RW]

Represents period in days/months/years. Corresponds to the JSON property `trialPeriod` @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1Period]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudchannel_v1/classes.rb, line 1650
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/cloudchannel_v1/classes.rb, line 1655
def update!(**args)
  @billing_account = args[:billing_account] if args.key?(:billing_account)
  @payment_cycle = args[:payment_cycle] if args.key?(:payment_cycle)
  @payment_plan = args[:payment_plan] if args.key?(:payment_plan)
  @payment_type = args[:payment_type] if args.key?(:payment_type)
  @trial_period = args[:trial_period] if args.key?(:trial_period)
end