Class: Google::Apis::MarketingplatformadminV1alpha::BillInfo

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

Overview

Contains the bill amount.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BillInfo

Returns a new instance of BillInfo.



94
95
96
# File 'lib/google/apis/marketingplatformadmin_v1alpha/classes.rb', line 94

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

Instance Attribute Details

#base_feeGoogle::Apis::MarketingplatformadminV1alpha::Money

Represents an amount of money with its currency type. Corresponds to the JSON property baseFee



77
78
79
# File 'lib/google/apis/marketingplatformadmin_v1alpha/classes.rb', line 77

def base_fee
  @base_fee
end

#event_feeGoogle::Apis::MarketingplatformadminV1alpha::Money

Represents an amount of money with its currency type. Corresponds to the JSON property eventFee



82
83
84
# File 'lib/google/apis/marketingplatformadmin_v1alpha/classes.rb', line 82

def event_fee
  @event_fee
end

#price_protection_creditGoogle::Apis::MarketingplatformadminV1alpha::Money

Represents an amount of money with its currency type. Corresponds to the JSON property priceProtectionCredit



87
88
89
# File 'lib/google/apis/marketingplatformadmin_v1alpha/classes.rb', line 87

def price_protection_credit
  @price_protection_credit
end

#totalGoogle::Apis::MarketingplatformadminV1alpha::Money

Represents an amount of money with its currency type. Corresponds to the JSON property total



92
93
94
# File 'lib/google/apis/marketingplatformadmin_v1alpha/classes.rb', line 92

def total
  @total
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



99
100
101
102
103
104
# File 'lib/google/apis/marketingplatformadmin_v1alpha/classes.rb', line 99

def update!(**args)
  @base_fee = args[:base_fee] if args.key?(:base_fee)
  @event_fee = args[:event_fee] if args.key?(:event_fee)
  @price_protection_credit = args[:price_protection_credit] if args.key?(:price_protection_credit)
  @total = args[:total] if args.key?(:total)
end