Class: NodexPay::Payment
- Inherits:
-
Data
- Object
- Data
- NodexPay::Payment
- Defined in:
- lib/nodex_pay/models.rb,
sig/nodex_pay.rbs
Instance Attribute Summary collapse
-
#ext_description ⇒ Object
readonly
Returns the value of attribute ext_description.
-
#ext_reserved ⇒ Object
readonly
Returns the value of attribute ext_reserved.
-
#token ⇒ Object
readonly
Returns the value of attribute token.
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(url:, token:, ext_reserved:, ext_description:) ⇒ Payment
constructor
A new instance of Payment.
Constructor Details
#initialize(url:, token:, ext_reserved:, ext_description:) ⇒ Payment
Returns a new instance of Payment.
5 6 7 8 9 10 11 12 |
# File 'lib/nodex_pay/models.rb', line 5 def initialize(url:, token:, ext_reserved:, ext_description:) super( url: url.dup.freeze, token: token.dup.freeze, ext_reserved: ext_reserved&.dup&.freeze, ext_description: ext_description&.dup&.freeze ) end |
Instance Attribute Details
#ext_description ⇒ Object (readonly)
Returns the value of attribute ext_description
4 5 6 |
# File 'lib/nodex_pay/models.rb', line 4 def ext_description @ext_description end |
#ext_reserved ⇒ Object (readonly)
Returns the value of attribute ext_reserved
4 5 6 |
# File 'lib/nodex_pay/models.rb', line 4 def ext_reserved @ext_reserved end |
#token ⇒ Object (readonly)
Returns the value of attribute token
4 5 6 |
# File 'lib/nodex_pay/models.rb', line 4 def token @token end |
#url ⇒ Object (readonly)
Returns the value of attribute url
4 5 6 |
# File 'lib/nodex_pay/models.rb', line 4 def url @url end |