Class: Google::Apis::ContentV2_1::SettlementTransaction

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SettlementTransaction

Returns a new instance of SettlementTransaction.



14338
14339
14340
# File 'lib/google/apis/content_v2_1/classes.rb', line 14338

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

Instance Attribute Details

#amountGoogle::Apis::ContentV2_1::SettlementTransactionAmount

The amount for the transaction. Corresponds to the JSON property amount



14320
14321
14322
# File 'lib/google/apis/content_v2_1/classes.rb', line 14320

def amount
  @amount
end

#identifiersGoogle::Apis::ContentV2_1::SettlementTransactionIdentifiers

Identifiers of the transaction. Corresponds to the JSON property identifiers



14325
14326
14327
# File 'lib/google/apis/content_v2_1/classes.rb', line 14325

def identifiers
  @identifiers
end

#kindString

Identifies what kind of resource this is. Value: the fixed string "content# settlementTransaction" Corresponds to the JSON property kind

Returns:

  • (String)


14331
14332
14333
# File 'lib/google/apis/content_v2_1/classes.rb', line 14331

def kind
  @kind
end

#transactionGoogle::Apis::ContentV2_1::SettlementTransactionTransaction

Details of the transaction. Corresponds to the JSON property transaction



14336
14337
14338
# File 'lib/google/apis/content_v2_1/classes.rb', line 14336

def transaction
  @transaction
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14343
14344
14345
14346
14347
14348
# File 'lib/google/apis/content_v2_1/classes.rb', line 14343

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