Class: Google::Apis::WalletobjectsV1::Issuer

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) ⇒ Issuer

Returns a new instance of Issuer.



4256
4257
4258
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 4256

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

Instance Attribute Details

#callback_optionsGoogle::Apis::WalletobjectsV1::CallbackOptions

Allows the issuer to provide their callback settings. Corresponds to the JSON property callbackOptions



4227
4228
4229
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 4227

def callback_options
  @callback_options
end

#contact_infoGoogle::Apis::WalletobjectsV1::IssuerContactInfo

Issuer contact information. Corresponds to the JSON property contactInfo



4232
4233
4234
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 4232

def contact_info
  @contact_info
end

#homepage_urlString

URL for the issuer's home page. Corresponds to the JSON property homepageUrl

Returns:

  • (String)


4237
4238
4239
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 4237

def homepage_url
  @homepage_url
end

#issuer_idFixnum

The unique identifier for an issuer account. This is automatically generated when the issuer is inserted. Corresponds to the JSON property issuerId

Returns:

  • (Fixnum)


4243
4244
4245
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 4243

def issuer_id
  @issuer_id
end

#nameString

The account name of the issuer. Corresponds to the JSON property name

Returns:

  • (String)


4248
4249
4250
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 4248

def name
  @name
end

#smart_tap_merchant_dataGoogle::Apis::WalletobjectsV1::SmartTapMerchantData

Available only to Smart Tap enabled partners. Contact support for additional guidance. Corresponds to the JSON property smartTapMerchantData



4254
4255
4256
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 4254

def smart_tap_merchant_data
  @smart_tap_merchant_data
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4261
4262
4263
4264
4265
4266
4267
4268
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 4261

def update!(**args)
  @callback_options = args[:callback_options] if args.key?(:callback_options)
  @contact_info = args[:contact_info] if args.key?(:contact_info)
  @homepage_url = args[:homepage_url] if args.key?(:homepage_url)
  @issuer_id = args[:issuer_id] if args.key?(:issuer_id)
  @name = args[:name] if args.key?(:name)
  @smart_tap_merchant_data = args[:smart_tap_merchant_data] if args.key?(:smart_tap_merchant_data)
end