GoogleApi.AdSense.V2.Model.Payment (google_api_ad_sense v0.14.0) View Source

Representation of an unpaid or paid payment. See Payment timelines for AdSense for more information about payments.

Attributes

  • amount (type: String.t, default: nil) - Output only. The amount of unpaid or paid earnings, as a formatted string, including the currency. E.g. "¥1,235 JPY", "$1,234.57", "£87.65".
  • date (type: GoogleApi.AdSense.V2.Model.Date.t, default: nil) - Output only. For paid earnings, the date that the payment was credited. For unpaid earnings, this field is empty. Payment dates are always returned in the billing timezone (America/Los_Angeles).
  • name (type: String.t, default: nil) - Resource name of the payment. Format: accounts/{account}/payments/unpaid for unpaid (current) earnings. accounts/{account}/payments/yyyy-MM-dd for paid earnings.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.AdSense.V2.Model.Payment{
  amount: String.t() | nil,
  date: GoogleApi.AdSense.V2.Model.Date.t() | nil,
  name: String.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.