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.
1717
1718
1719
1720
|
# File 'lib/webpay/data_types.rb', line 1717
def initialize(hash = {})
hash = normalize_hash(hash)
@attributes = hash
end
|
Instance Attribute Details
#attributes ⇒ Object
Returns the value of attribute attributes.
1710
1711
1712
|
# File 'lib/webpay/data_types.rb', line 1710
def attributes
@attributes
end
|
Class Method Details
.fields ⇒ Object
1712
1713
1714
|
# File 'lib/webpay/data_types.rb', line 1712
def self.fields
['id', 'object', 'livemode', 'status', 'description', 'access_key', 'created', 'statement_descriptor', 'card_types_supported', 'details']
end
|
Instance Method Details
#access_key ⇒ Object
1745
1746
1747
|
# File 'lib/webpay/data_types.rb', line 1745
def access_key
attributes['access_key']
end
|
#card_types_supported ⇒ Object
1757
1758
1759
|
# File 'lib/webpay/data_types.rb', line 1757
def card_types_supported
attributes['card_types_supported']
end
|
#created ⇒ Object
1749
1750
1751
|
# File 'lib/webpay/data_types.rb', line 1749
def created
attributes['created']
end
|
#description ⇒ Object
1741
1742
1743
|
# File 'lib/webpay/data_types.rb', line 1741
def description
attributes['description']
end
|
#details ⇒ Object
1761
1762
1763
|
# File 'lib/webpay/data_types.rb', line 1761
def details
attributes['details']
end
|
#id ⇒ Object
1725
1726
1727
|
# File 'lib/webpay/data_types.rb', line 1725
def id
attributes['id']
end
|
#livemode ⇒ Object
1733
1734
1735
|
# File 'lib/webpay/data_types.rb', line 1733
def livemode
attributes['livemode']
end
|
#object ⇒ Object
1729
1730
1731
|
# File 'lib/webpay/data_types.rb', line 1729
def object
attributes['object']
end
|
#statement_descriptor ⇒ Object
1753
1754
1755
|
# File 'lib/webpay/data_types.rb', line 1753
def statement_descriptor
attributes['statement_descriptor']
end
|
#status ⇒ Object
1737
1738
1739
|
# File 'lib/webpay/data_types.rb', line 1737
def status
attributes['status']
end
|