Class: Google::Apis::WalletobjectsV1::IssuerContactInfo

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/walletobjects_v1/classes.rb,
lib/google/apis/walletobjects_v1/representations.rb,
lib/google/apis/walletobjects_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ IssuerContactInfo

Returns a new instance of IssuerContactInfo.



4295
4296
4297
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 4295

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#alerts_emailsArray<String>

Email addresses which will receive alerts. Corresponds to the JSON property alertsEmails

Returns:

  • (Array<String>)


4278
4279
4280
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 4278

def alerts_emails
  @alerts_emails
end

#emailString

The primary contact email address. Corresponds to the JSON property email

Returns:

  • (String)


4283
4284
4285
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 4283

def email
  @email
end

#nameString

The primary contact name. Corresponds to the JSON property name

Returns:

  • (String)


4288
4289
4290
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 4288

def name
  @name
end

#phoneString

The primary contact phone number. Corresponds to the JSON property phone

Returns:

  • (String)


4293
4294
4295
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 4293

def phone
  @phone
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4300
4301
4302
4303
4304
4305
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 4300

def update!(**args)
  @alerts_emails = args[:alerts_emails] if args.key?(:alerts_emails)
  @email = args[:email] if args.key?(:email)
  @name = args[:name] if args.key?(:name)
  @phone = args[:phone] if args.key?(:phone)
end