Class: WebPay::ShopResponse
Instance Attribute Summary collapse
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Entity
#normalize_hash, #to_h, #to_s
Constructor Details
#initialize(hash = {}) ⇒ ShopResponse
Returns a new instance of ShopResponse.
1698
1699
1700
1701
|
# File 'lib/webpay/data_types.rb', line 1698
def initialize(hash = {})
hash = normalize_hash(hash)
@attributes = hash
end
|
Instance Attribute Details
#attributes ⇒ Object
Returns the value of attribute attributes.
1691
1692
1693
|
# File 'lib/webpay/data_types.rb', line 1691
def attributes
@attributes
end
|
Class Method Details
.fields ⇒ Object
1693
1694
1695
|
# File 'lib/webpay/data_types.rb', line 1693
def self.fields
['id', 'object', 'livemode', 'status', 'description', 'access_key', 'created', 'statement_descriptor', 'card_types_supported', 'details']
end
|
Instance Method Details
#access_key ⇒ Object
1726
1727
1728
|
# File 'lib/webpay/data_types.rb', line 1726
def access_key
attributes['access_key']
end
|
#card_types_supported ⇒ Object
1738
1739
1740
|
# File 'lib/webpay/data_types.rb', line 1738
def card_types_supported
attributes['card_types_supported']
end
|
#created ⇒ Object
1730
1731
1732
|
# File 'lib/webpay/data_types.rb', line 1730
def created
attributes['created']
end
|
#description ⇒ Object
1722
1723
1724
|
# File 'lib/webpay/data_types.rb', line 1722
def description
attributes['description']
end
|
#details ⇒ Object
1742
1743
1744
|
# File 'lib/webpay/data_types.rb', line 1742
def details
attributes['details']
end
|
#id ⇒ Object
1706
1707
1708
|
# File 'lib/webpay/data_types.rb', line 1706
def id
attributes['id']
end
|
#livemode ⇒ Object
1714
1715
1716
|
# File 'lib/webpay/data_types.rb', line 1714
def livemode
attributes['livemode']
end
|
#object ⇒ Object
1710
1711
1712
|
# File 'lib/webpay/data_types.rb', line 1710
def object
attributes['object']
end
|
#statement_descriptor ⇒ Object
1734
1735
1736
|
# File 'lib/webpay/data_types.rb', line 1734
def statement_descriptor
attributes['statement_descriptor']
end
|
#status ⇒ Object
1718
1719
1720
|
# File 'lib/webpay/data_types.rb', line 1718
def status
attributes['status']
end
|