Class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItemOneTimeRecurrenceDetails

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/paymentsresellersubscription_v1/classes.rb,
lib/google/apis/paymentsresellersubscription_v1/representations.rb,
lib/google/apis/paymentsresellersubscription_v1/representations.rb

Overview

Details for a ONE_TIME recurrence line item.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItemOneTimeRecurrenceDetails

Returns a new instance of GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItemOneTimeRecurrenceDetails.



1114
1115
1116
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 1114

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#service_periodGoogle::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1ServicePeriod

A description of what time period or moment in time the product or service is being delivered over. Corresponds to the JSON property servicePeriod



1112
1113
1114
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 1112

def service_period
  @service_period
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1119
1120
1121
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 1119

def update!(**args)
  @service_period = args[:service_period] if args.key?(:service_period)
end