Class: Paypal::Payment::Response::Refund
- Inherits:
-
Base
- Object
- Base
- Paypal::Payment::Response::Refund
- Defined in:
- lib/paypal/payment/response/refund.rb
Instance Attribute Summary (collapse)
-
- (Object) amount
Returns the value of attribute amount.
Instance Method Summary (collapse)
-
- (Refund) initialize(attributes = {})
constructor
A new instance of Refund.
Methods included from Util
#==, formatted_amount, #numeric_attribute?, to_numeric
Constructor Details
- (Refund) initialize(attributes = {})
A new instance of Refund
7 8 9 10 |
# File 'lib/paypal/payment/response/refund.rb', line 7 def initialize(attributes = {}) super @amount = Common::Amount.new(attributes[:amount]) end |
Instance Attribute Details
- (Object) amount
Returns the value of attribute amount
5 6 7 |
# File 'lib/paypal/payment/response/refund.rb', line 5 def amount @amount end |