GoogleApi.WalletObjects.V1.Model.FieldReference (google_api_wallet_objects v0.12.0)

View Source

Reference definition to use with field overrides.

Attributes

  • dateFormat (type: String.t, default: nil) - Only valid if the fieldPath references a date field. Chooses how the date field will be formatted and displayed in the UI.
  • fieldPath (type: String.t, default: nil) - Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.WalletObjects.V1.Model.FieldReference{
  dateFormat: String.t() | nil,
  fieldPath: String.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.