class Google::Apis::AdsenseV1_4::Payment

Attributes

id[RW]

Unique identifier of this Payment. Corresponds to the JSON property `id` @return [String]

kind[RW]

Kind of resource this is, in this case adsense#payment. Corresponds to the JSON property `kind` @return [String]

payment_amount[RW]

The amount to be paid. Corresponds to the JSON property `paymentAmount` @return [String]

payment_amount_currency_code[RW]

The currency code for the amount to be paid. Corresponds to the JSON property `paymentAmountCurrencyCode` @return [String]

payment_date[RW]

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` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/adsense_v1_4/classes.rb, line 969
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/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