Class: Google::Apis::ContentV2::InvoiceSummary
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2::InvoiceSummary
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/content_v2/classes.rb,
lib/google/apis/content_v2/representations.rb,
lib/google/apis/content_v2/representations.rb
Instance Attribute Summary collapse
-
#additional_charge_summaries ⇒ Array<Google::Apis::ContentV2::InvoiceSummaryAdditionalChargeSummary>
Summary of the total amounts of the additional charges.
-
#customer_balance ⇒ Google::Apis::ContentV2::Amount
Deprecated.
-
#google_balance ⇒ Google::Apis::ContentV2::Amount
Deprecated.
-
#merchant_balance ⇒ Google::Apis::ContentV2::Amount
Deprecated.
-
#product_total ⇒ Google::Apis::ContentV2::Amount
[required] Total price for the product.
-
#promotion_summaries ⇒ Array<Google::Apis::ContentV2::Promotion>
Deprecated.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InvoiceSummary
constructor
A new instance of InvoiceSummary.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ InvoiceSummary
Returns a new instance of InvoiceSummary.
2997 2998 2999 |
# File 'lib/google/apis/content_v2/classes.rb', line 2997 def initialize(**args) update!(**args) end |
Instance Attribute Details
#additional_charge_summaries ⇒ Array<Google::Apis::ContentV2::InvoiceSummaryAdditionalChargeSummary>
Summary of the total amounts of the additional charges.
Corresponds to the JSON property additionalChargeSummaries
2970 2971 2972 |
# File 'lib/google/apis/content_v2/classes.rb', line 2970 def additional_charge_summaries @additional_charge_summaries end |
#customer_balance ⇒ Google::Apis::ContentV2::Amount
Deprecated.
Corresponds to the JSON property customerBalance
2975 2976 2977 |
# File 'lib/google/apis/content_v2/classes.rb', line 2975 def customer_balance @customer_balance end |
#google_balance ⇒ Google::Apis::ContentV2::Amount
Deprecated.
Corresponds to the JSON property googleBalance
2980 2981 2982 |
# File 'lib/google/apis/content_v2/classes.rb', line 2980 def google_balance @google_balance end |
#merchant_balance ⇒ Google::Apis::ContentV2::Amount
Deprecated.
Corresponds to the JSON property merchantBalance
2985 2986 2987 |
# File 'lib/google/apis/content_v2/classes.rb', line 2985 def merchant_balance @merchant_balance end |
#product_total ⇒ Google::Apis::ContentV2::Amount
[required] Total price for the product.
Corresponds to the JSON property productTotal
2990 2991 2992 |
# File 'lib/google/apis/content_v2/classes.rb', line 2990 def product_total @product_total end |
#promotion_summaries ⇒ Array<Google::Apis::ContentV2::Promotion>
Deprecated.
Corresponds to the JSON property promotionSummaries
2995 2996 2997 |
# File 'lib/google/apis/content_v2/classes.rb', line 2995 def promotion_summaries @promotion_summaries end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3002 3003 3004 3005 3006 3007 3008 3009 |
# File 'lib/google/apis/content_v2/classes.rb', line 3002 def update!(**args) @additional_charge_summaries = args[:additional_charge_summaries] if args.key?(:additional_charge_summaries) @customer_balance = args[:customer_balance] if args.key?(:customer_balance) @google_balance = args[:google_balance] if args.key?(:google_balance) @merchant_balance = args[:merchant_balance] if args.key?(:merchant_balance) @product_total = args[:product_total] if args.key?(:product_total) @promotion_summaries = args[:promotion_summaries] if args.key?(:promotion_summaries) end |