Class: Google::Apis::ContentV2_1::SettlementTransaction
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::SettlementTransaction
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/content_v2_1/classes.rb,
lib/google/apis/content_v2_1/representations.rb,
lib/google/apis/content_v2_1/representations.rb
Overview
Settlement transactions give a detailed breakdown of the settlement report.
Instance Attribute Summary collapse
-
#amount ⇒ Google::Apis::ContentV2_1::SettlementTransactionAmount
The amount for the transaction.
-
#identifiers ⇒ Google::Apis::ContentV2_1::SettlementTransactionIdentifiers
Identifiers of the transaction.
-
#kind ⇒ String
Identifies what kind of resource this is.
-
#transaction ⇒ Google::Apis::ContentV2_1::SettlementTransactionTransaction
Details of the transaction.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SettlementTransaction
constructor
A new instance of SettlementTransaction.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SettlementTransaction
Returns a new instance of SettlementTransaction.
13223 13224 13225 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 13223 def initialize(**args) update!(**args) end |
Instance Attribute Details
#amount ⇒ Google::Apis::ContentV2_1::SettlementTransactionAmount
The amount for the transaction.
Corresponds to the JSON property amount
13205 13206 13207 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 13205 def amount @amount end |
#identifiers ⇒ Google::Apis::ContentV2_1::SettlementTransactionIdentifiers
Identifiers of the transaction.
Corresponds to the JSON property identifiers
13210 13211 13212 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 13210 def identifiers @identifiers end |
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "content#
settlementTransaction"
Corresponds to the JSON property kind
13216 13217 13218 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 13216 def kind @kind end |
#transaction ⇒ Google::Apis::ContentV2_1::SettlementTransactionTransaction
Details of the transaction.
Corresponds to the JSON property transaction
13221 13222 13223 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 13221 def transaction @transaction end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13228 13229 13230 13231 13232 13233 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 13228 def update!(**args) @amount = args[:amount] if args.key?(:amount) @identifiers = args[:identifiers] if args.key?(:identifiers) @kind = args[:kind] if args.key?(:kind) @transaction = args[:transaction] if args.key?(:transaction) end |