Class: Google::Apis::AdsenseV1_4::Payment
- Inherits:
-
Object
- Object
- Google::Apis::AdsenseV1_4::Payment
- 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
-
#id ⇒ String
Unique identifier of this Payment.
-
#kind ⇒ String
Kind of resource this is, in this case adsense#payment.
-
#payment_amount ⇒ String
The amount to be paid.
-
#payment_amount_currency_code ⇒ String
The currency code for the amount to be paid.
-
#payment_date ⇒ String
The date this payment was/will be credited to the user, or none if the payment threshold has not been met.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Payment
constructor
A new instance of Payment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Payment
Returns a new instance of Payment
969 970 971 |
# File 'generated/google/apis/adsense_v1_4/classes.rb', line 969 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ String
Unique identifier of this Payment.
Corresponds to the JSON property id
946 947 948 |
# File 'generated/google/apis/adsense_v1_4/classes.rb', line 946 def id @id end |
#kind ⇒ String
Kind of resource this is, in this case adsense#payment.
Corresponds to the JSON property kind
951 952 953 |
# File 'generated/google/apis/adsense_v1_4/classes.rb', line 951 def kind @kind end |
#payment_amount ⇒ String
The amount to be paid.
Corresponds to the JSON property paymentAmount
956 957 958 |
# File 'generated/google/apis/adsense_v1_4/classes.rb', line 956 def payment_amount @payment_amount end |
#payment_amount_currency_code ⇒ String
The currency code for the amount to be paid.
Corresponds to the JSON property paymentAmountCurrencyCode
961 962 963 |
# File 'generated/google/apis/adsense_v1_4/classes.rb', line 961 def payment_amount_currency_code @payment_amount_currency_code end |
#payment_date ⇒ String
The date this payment was/will be credited to the user, or none if the payment
threshold has not been met.
Corresponds to the JSON property paymentDate
967 968 969 |
# File 'generated/google/apis/adsense_v1_4/classes.rb', line 967 def payment_date @payment_date end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
974 975 976 977 978 979 980 |
# File 'generated/google/apis/adsense_v1_4/classes.rb', line 974 def update!(**args) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @payment_amount = args[:payment_amount] if args.key?(:payment_amount) @payment_amount_currency_code = args[:payment_amount_currency_code] if args.key?(:payment_amount_currency_code) @payment_date = args[:payment_date] if args.key?(:payment_date) end |