Class: PayPal::AdaptivePayments::InvoiceData
- Inherits:
-
Object
- Object
- PayPal::AdaptivePayments::InvoiceData
- Includes:
- Common::Base
- Defined in:
- lib/paypal/adaptive_payments/invoice_data.rb
Instance Attribute Summary collapse
-
#item ⇒ Object
Returns the value of attribute item.
-
#total_shipping ⇒ Object
Returns the value of attribute total_shipping.
-
#total_tax ⇒ Object
Returns the value of attribute total_tax.
Instance Method Summary collapse
Methods included from Common::Base
#after_initialize, #build_datetime, #build_value, #camelize, #hash_keys, #initialize, #request, #to_hash, #to_json, #underscore
Instance Attribute Details
#item ⇒ Object
Returns the value of attribute item.
5 6 7 |
# File 'lib/paypal/adaptive_payments/invoice_data.rb', line 5 def item @item end |
#total_shipping ⇒ Object
Returns the value of attribute total_shipping.
7 8 9 |
# File 'lib/paypal/adaptive_payments/invoice_data.rb', line 7 def total_shipping @total_shipping end |
#total_tax ⇒ Object
Returns the value of attribute total_tax.
6 7 8 |
# File 'lib/paypal/adaptive_payments/invoice_data.rb', line 6 def total_tax @total_tax end |
Instance Method Details
#set_item(value) ⇒ Object
9 10 11 |
# File 'lib/paypal/adaptive_payments/invoice_data.rb', line 9 def set_item(value) self.item = build_value(InvoiceItem, value) end |