Class: Google::Apis::AdsenseV2::ListPaymentsResponse

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

Overview

Response definition for the payments list rpc.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListPaymentsResponse

Returns a new instance of ListPaymentsResponse.



732
733
734
# File 'lib/google/apis/adsense_v2/classes.rb', line 732

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

Instance Attribute Details

#paymentsArray<Google::Apis::AdsenseV2::Payment>

The payments returned in this list response. Corresponds to the JSON property payments



730
731
732
# File 'lib/google/apis/adsense_v2/classes.rb', line 730

def payments
  @payments
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



737
738
739
# File 'lib/google/apis/adsense_v2/classes.rb', line 737

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