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.
1633
1634
1635
1636
|
# File 'lib/webpay/data_types.rb', line 1633
def initialize(hash = {})
hash = normalize_hash(hash)
@attributes = hash
end
|
Instance Attribute Details
#attributes ⇒ Object
Returns the value of attribute attributes.
1626
1627
1628
|
# File 'lib/webpay/data_types.rb', line 1626
def attributes
@attributes
end
|
Class Method Details
.fields ⇒ Object
1628
1629
1630
|
# File 'lib/webpay/data_types.rb', line 1628
def self.fields
['id', 'object', 'livemode', 'status', 'description', 'access_key', 'created', 'statement_descriptor', 'card_types_supported', 'details']
end
|
Instance Method Details
#access_key ⇒ Object
1661
1662
1663
|
# File 'lib/webpay/data_types.rb', line 1661
def access_key
attributes['access_key']
end
|
#card_types_supported ⇒ Object
1673
1674
1675
|
# File 'lib/webpay/data_types.rb', line 1673
def card_types_supported
attributes['card_types_supported']
end
|
#created ⇒ Object
1665
1666
1667
|
# File 'lib/webpay/data_types.rb', line 1665
def created
attributes['created']
end
|
#description ⇒ Object
1657
1658
1659
|
# File 'lib/webpay/data_types.rb', line 1657
def description
attributes['description']
end
|
#details ⇒ Object
1677
1678
1679
|
# File 'lib/webpay/data_types.rb', line 1677
def details
attributes['details']
end
|
#id ⇒ Object
1641
1642
1643
|
# File 'lib/webpay/data_types.rb', line 1641
def id
attributes['id']
end
|
#livemode ⇒ Object
1649
1650
1651
|
# File 'lib/webpay/data_types.rb', line 1649
def livemode
attributes['livemode']
end
|
#object ⇒ Object
1645
1646
1647
|
# File 'lib/webpay/data_types.rb', line 1645
def object
attributes['object']
end
|
#statement_descriptor ⇒ Object
1669
1670
1671
|
# File 'lib/webpay/data_types.rb', line 1669
def statement_descriptor
attributes['statement_descriptor']
end
|
#status ⇒ Object
1653
1654
1655
|
# File 'lib/webpay/data_types.rb', line 1653
def status
attributes['status']
end
|