Class: Google::Apis::ContentV2_1::InvoiceSummary

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/content_v2_1/classes.rb,
generated/google/apis/content_v2_1/representations.rb,
generated/google/apis/content_v2_1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InvoiceSummary

Returns a new instance of InvoiceSummary.



3061
3062
3063
# File 'generated/google/apis/content_v2_1/classes.rb', line 3061

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

Instance Attribute Details

#additional_charge_summariesArray<Google::Apis::ContentV2_1::InvoiceSummaryAdditionalChargeSummary>

Summary of the total amounts of the additional charges. Corresponds to the JSON property additionalChargeSummaries



3054
3055
3056
# File 'generated/google/apis/content_v2_1/classes.rb', line 3054

def additional_charge_summaries
  @additional_charge_summaries
end

#product_totalGoogle::Apis::ContentV2_1::Amount

[required] Total price for the product. Corresponds to the JSON property productTotal



3059
3060
3061
# File 'generated/google/apis/content_v2_1/classes.rb', line 3059

def product_total
  @product_total
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3066
3067
3068
3069
# File 'generated/google/apis/content_v2_1/classes.rb', line 3066

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