Class: Starling::Resources::MerchantLocationResource

Inherits:
BaseResource
  • Object
show all
Defined in:
lib/starling/resources/merchant_location_resource.rb

Overview

A resource representing a Merchant Location returned from the Merchant Locations API

Instance Method Summary collapse

Methods inherited from BaseResource

#initialize

Constructor Details

This class inherits a constructor from Starling::Resources::BaseResource

Instance Method Details

#location_nameString


21
22
23
# File 'lib/starling/resources/merchant_location_resource.rb', line 21

def location_name
  parsed_data['locationName']
end

#mastercard_merchant_category_codeInteger, Fixnum


28
29
30
# File 'lib/starling/resources/merchant_location_resource.rb', line 28

def mastercard_merchant_category_code
  parsed_data['mastercardMerchantCategoryCode']
end

#merchant_location_uidString


11
12
13
# File 'lib/starling/resources/merchant_location_resource.rb', line 11

def merchant_location_uid
  parsed_data['merchantLocationUid']
end

#merchant_nameString


16
17
18
# File 'lib/starling/resources/merchant_location_resource.rb', line 16

def merchant_name
  parsed_data['merchantName']
end

#merchant_uidString


6
7
8
# File 'lib/starling/resources/merchant_location_resource.rb', line 6

def merchant_uid
  parsed_data['merchantUid']
end