Class: Google::Apis::WalletobjectsV1::IssuerContactInfo
- Inherits:
-
Object
- Object
- Google::Apis::WalletobjectsV1::IssuerContactInfo
- 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
-
#alerts_emails ⇒ Array<String>
Email addresses which will receive alerts.
-
#email ⇒ String
The primary contact email address.
-
#name ⇒ String
The primary contact name.
-
#phone ⇒ String
The primary contact phone number.
Instance Method Summary collapse
-
#initialize(**args) ⇒ IssuerContactInfo
constructor
A new instance of IssuerContactInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ IssuerContactInfo
Returns a new instance of IssuerContactInfo.
4602 4603 4604 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 4602 def initialize(**args) update!(**args) end |
Instance Attribute Details
#alerts_emails ⇒ Array<String>
Email addresses which will receive alerts.
Corresponds to the JSON property alertsEmails
4585 4586 4587 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 4585 def alerts_emails @alerts_emails end |
#email ⇒ String
The primary contact email address.
Corresponds to the JSON property email
4590 4591 4592 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 4590 def email @email end |
#name ⇒ String
The primary contact name.
Corresponds to the JSON property name
4595 4596 4597 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 4595 def name @name end |
#phone ⇒ String
The primary contact phone number.
Corresponds to the JSON property phone
4600 4601 4602 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 4600 def phone @phone end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4607 4608 4609 4610 4611 4612 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 4607 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 |