Class: Ravelin::VoucherRedemption
- Inherits:
-
RavelinObject
- Object
- RavelinObject
- Ravelin::VoucherRedemption
- Defined in:
- lib/ravelin/voucher_redemption.rb
Instance Attribute Summary collapse
-
#currency ⇒ Object
Returns the value of attribute currency.
-
#custom ⇒ Object
Returns the value of attribute custom.
-
#expiry ⇒ Object
Returns the value of attribute expiry.
-
#failure_reason ⇒ Object
Returns the value of attribute failure_reason.
-
#failure_source ⇒ Object
Returns the value of attribute failure_source.
-
#payment_method_id ⇒ Object
Returns the value of attribute payment_method_id.
-
#redemption_time ⇒ Object
Returns the value of attribute redemption_time.
-
#referrer_id ⇒ Object
Returns the value of attribute referrer_id.
-
#success ⇒ Object
Returns the value of attribute success.
-
#value ⇒ Object
Returns the value of attribute value.
-
#voucher_code ⇒ Object
Returns the value of attribute voucher_code.
-
#voucher_type ⇒ Object
Returns the value of attribute voucher_type.
Instance Method Summary collapse
Methods inherited from RavelinObject
attr_accessor, attr_required, #initialize, required_attributes, #serializable_hash, #validate
Constructor Details
This class inherits a constructor from Ravelin::RavelinObject
Instance Attribute Details
#currency ⇒ Object
Returns the value of attribute currency.
3 4 5 |
# File 'lib/ravelin/voucher_redemption.rb', line 3 def currency @currency end |
#custom ⇒ Object
Returns the value of attribute custom.
3 4 5 |
# File 'lib/ravelin/voucher_redemption.rb', line 3 def custom @custom end |
#expiry ⇒ Object
Returns the value of attribute expiry.
3 4 5 |
# File 'lib/ravelin/voucher_redemption.rb', line 3 def expiry @expiry end |
#failure_reason ⇒ Object
Returns the value of attribute failure_reason.
3 4 5 |
# File 'lib/ravelin/voucher_redemption.rb', line 3 def failure_reason @failure_reason end |
#failure_source ⇒ Object
Returns the value of attribute failure_source.
3 4 5 |
# File 'lib/ravelin/voucher_redemption.rb', line 3 def failure_source @failure_source end |
#payment_method_id ⇒ Object
Returns the value of attribute payment_method_id.
3 4 5 |
# File 'lib/ravelin/voucher_redemption.rb', line 3 def payment_method_id @payment_method_id end |
#redemption_time ⇒ Object
Returns the value of attribute redemption_time.
3 4 5 |
# File 'lib/ravelin/voucher_redemption.rb', line 3 def redemption_time @redemption_time end |
#referrer_id ⇒ Object
Returns the value of attribute referrer_id.
3 4 5 |
# File 'lib/ravelin/voucher_redemption.rb', line 3 def referrer_id @referrer_id end |
#success ⇒ Object
Returns the value of attribute success.
3 4 5 |
# File 'lib/ravelin/voucher_redemption.rb', line 3 def success @success end |
#value ⇒ Object
Returns the value of attribute value.
3 4 5 |
# File 'lib/ravelin/voucher_redemption.rb', line 3 def value @value end |
#voucher_code ⇒ Object
Returns the value of attribute voucher_code.
3 4 5 |
# File 'lib/ravelin/voucher_redemption.rb', line 3 def voucher_code @voucher_code end |
#voucher_type ⇒ Object
Returns the value of attribute voucher_type.
3 4 5 |
# File 'lib/ravelin/voucher_redemption.rb', line 3 def voucher_type @voucher_type end |