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.
957 958 959 |
# File 'generated/google/apis/adsense_v1_4/classes.rb', line 957 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ String
Unique identifier of this Payment.
Corresponds to the JSON property id
934 935 936 |
# File 'generated/google/apis/adsense_v1_4/classes.rb', line 934 def id @id end |
#kind ⇒ String
Kind of resource this is, in this case adsense#payment.
Corresponds to the JSON property kind
939 940 941 |
# File 'generated/google/apis/adsense_v1_4/classes.rb', line 939 def kind @kind end |
#payment_amount ⇒ String
The amount to be paid.
Corresponds to the JSON property paymentAmount
944 945 946 |
# File 'generated/google/apis/adsense_v1_4/classes.rb', line 944 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
949 950 951 |
# File 'generated/google/apis/adsense_v1_4/classes.rb', line 949 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
955 956 957 |
# File 'generated/google/apis/adsense_v1_4/classes.rb', line 955 def payment_date @payment_date end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
962 963 964 965 966 967 968 |
# File 'generated/google/apis/adsense_v1_4/classes.rb', line 962 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 |