Class: Google::Apis::AdsenseV1_4::Payments
- Inherits:
-
Object
- Object
- Google::Apis::AdsenseV1_4::Payments
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/adsense_v1_4/classes.rb,
generated/google/apis/adsense_v1_4/representations.rb,
generated/google/apis/adsense_v1_4/representations.rb
Instance Attribute Summary collapse
-
#items ⇒ Array<Google::Apis::AdsenseV1_4::Payment>
The list of Payments for the account.
-
#kind ⇒ String
Kind of list this is, in this case adsense#payments.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Payments
constructor
A new instance of Payments.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Payments
Returns a new instance of Payments
986 987 988 |
# File 'generated/google/apis/adsense_v1_4/classes.rb', line 986 def initialize(**args) update!(**args) end |
Instance Attribute Details
#items ⇒ Array<Google::Apis::AdsenseV1_4::Payment>
The list of Payments for the account. One or both of a) the account's most
recent payment; and b) the account's upcoming payment.
Corresponds to the JSON property items
979 980 981 |
# File 'generated/google/apis/adsense_v1_4/classes.rb', line 979 def items @items end |
#kind ⇒ String
Kind of list this is, in this case adsense#payments.
Corresponds to the JSON property kind
984 985 986 |
# File 'generated/google/apis/adsense_v1_4/classes.rb', line 984 def kind @kind end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
991 992 993 994 |
# File 'generated/google/apis/adsense_v1_4/classes.rb', line 991 def update!(**args) @items = args[:items] if args.key?(:items) @kind = args[:kind] if args.key?(:kind) end |