Class: Nuvemshop::Order
- Defined in:
- lib/nuvemshop/order.rb,
lib/nuvemshop/order/address.rb,
lib/nuvemshop/order/timestampz.rb,
lib/nuvemshop/order/client_details.rb,
lib/nuvemshop/order/payment_details.rb,
lib/nuvemshop/order/promotional_discount.rb
Defined Under Namespace
Classes: Address, ClientDetails, PaymentDetails, PromotionalDiscount, Timestampz
Instance Attribute Summary collapse
-
#app_id ⇒ Object
Returns the value of attribute app_id.
-
#attributes ⇒ Object
Returns the value of attribute attributes.
-
#billing_address ⇒ Object
Returns the value of attribute billing_address.
-
#billing_city ⇒ Object
Returns the value of attribute billing_city.
-
#billing_country ⇒ Object
Returns the value of attribute billing_country.
-
#billing_floor ⇒ Object
Returns the value of attribute billing_floor.
-
#billing_locality ⇒ Object
Returns the value of attribute billing_locality.
-
#billing_name ⇒ Object
Returns the value of attribute billing_name.
-
#billing_number ⇒ Object
Returns the value of attribute billing_number.
-
#billing_phone ⇒ Object
Returns the value of attribute billing_phone.
-
#billing_province ⇒ Object
Returns the value of attribute billing_province.
-
#billing_zipcode ⇒ Object
Returns the value of attribute billing_zipcode.
-
#cancel_reason ⇒ Object
Returns the value of attribute cancel_reason.
-
#cancelled_at ⇒ Object
Returns the value of attribute cancelled_at.
-
#checkout_enabled ⇒ Object
Returns the value of attribute checkout_enabled.
-
#client_details ⇒ Object
Returns the value of attribute client_details.
-
#closed_at ⇒ Object
Returns the value of attribute closed_at.
-
#completed_at ⇒ Object
Returns the value of attribute completed_at.
-
#coupon ⇒ Object
Returns the value of attribute coupon.
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#currency ⇒ Object
Returns the value of attribute currency.
-
#customer ⇒ Object
Returns the value of attribute customer.
-
#discount ⇒ Object
Returns the value of attribute discount.
-
#discount_coupon ⇒ Object
Returns the value of attribute discount_coupon.
-
#discount_gateway ⇒ Object
Returns the value of attribute discount_gateway.
-
#extra ⇒ Object
Returns the value of attribute extra.
-
#gateway ⇒ Object
Returns the value of attribute gateway.
-
#gateway_id ⇒ Object
Returns the value of attribute gateway_id.
-
#id ⇒ Object
Returns the value of attribute id.
-
#landing_url ⇒ Object
Returns the value of attribute landing_url.
-
#language ⇒ Object
Returns the value of attribute language.
-
#next_action ⇒ Object
Returns the value of attribute next_action.
-
#note ⇒ Object
Returns the value of attribute note.
-
#number ⇒ Object
Returns the value of attribute number.
-
#owner_note ⇒ Object
Returns the value of attribute owner_note.
-
#paid_at ⇒ Object
Returns the value of attribute paid_at.
-
#payment_details ⇒ Object
Returns the value of attribute payment_details.
-
#payment_status ⇒ Object
Returns the value of attribute payment_status.
-
#products ⇒ Object
Returns the value of attribute products.
-
#promotional_discount ⇒ Object
Returns the value of attribute promotional_discount.
-
#read_at ⇒ Object
Returns the value of attribute read_at.
-
#shipped_at ⇒ Object
Returns the value of attribute shipped_at.
-
#shipping ⇒ Object
Returns the value of attribute shipping.
-
#shipping_address ⇒ Object
Returns the value of attribute shipping_address.
-
#shipping_cost_customer ⇒ Object
Returns the value of attribute shipping_cost_customer.
-
#shipping_cost_owner ⇒ Object
Returns the value of attribute shipping_cost_owner.
-
#shipping_max_days ⇒ Object
Returns the value of attribute shipping_max_days.
-
#shipping_min_days ⇒ Object
Returns the value of attribute shipping_min_days.
-
#shipping_option ⇒ Object
Returns the value of attribute shipping_option.
-
#shipping_option_code ⇒ Object
Returns the value of attribute shipping_option_code.
-
#shipping_option_reference ⇒ Object
Returns the value of attribute shipping_option_reference.
-
#shipping_pickup_details ⇒ Object
Returns the value of attribute shipping_pickup_details.
-
#shipping_pickup_type ⇒ Object
Returns the value of attribute shipping_pickup_type.
-
#shipping_status ⇒ Object
Returns the value of attribute shipping_status.
-
#shipping_store_branch_name ⇒ Object
Returns the value of attribute shipping_store_branch_name.
-
#shipping_suboption ⇒ Object
Returns the value of attribute shipping_suboption.
-
#shipping_tracking_number ⇒ Object
Returns the value of attribute shipping_tracking_number.
-
#shipping_tracking_url ⇒ Object
Returns the value of attribute shipping_tracking_url.
-
#status ⇒ Object
Returns the value of attribute status.
-
#store_id ⇒ Object
Returns the value of attribute store_id.
-
#storefront ⇒ Object
Returns the value of attribute storefront.
-
#subtotal ⇒ Object
Returns the value of attribute subtotal.
-
#token ⇒ Object
Returns the value of attribute token.
-
#total ⇒ Object
Returns the value of attribute total.
-
#total_usd ⇒ Object
Returns the value of attribute total_usd.
-
#updated_at ⇒ Object
Returns the value of attribute updated_at.
-
#weight ⇒ Object
Returns the value of attribute weight.
Method Summary
Methods inherited from BaseModel
attr_accessor, attributes, #pretty_print
Methods included from Extensions::MassAssignment
Instance Attribute Details
#app_id ⇒ Object
Returns the value of attribute app_id.
3 4 5 |
# File 'lib/nuvemshop/order.rb', line 3 def app_id @app_id end |
#attributes ⇒ Object
Returns the value of attribute attributes.
3 4 5 |
# File 'lib/nuvemshop/order.rb', line 3 def attributes @attributes end |
#billing_address ⇒ Object
Returns the value of attribute billing_address.
3 4 5 |
# File 'lib/nuvemshop/order.rb', line 3 def billing_address @billing_address end |
#billing_city ⇒ Object
Returns the value of attribute billing_city.
3 4 5 |
# File 'lib/nuvemshop/order.rb', line 3 def billing_city @billing_city end |
#billing_country ⇒ Object
Returns the value of attribute billing_country.
3 4 5 |
# File 'lib/nuvemshop/order.rb', line 3 def billing_country @billing_country end |
#billing_floor ⇒ Object
Returns the value of attribute billing_floor.
3 4 5 |
# File 'lib/nuvemshop/order.rb', line 3 def billing_floor @billing_floor end |
#billing_locality ⇒ Object
Returns the value of attribute billing_locality.
3 4 5 |
# File 'lib/nuvemshop/order.rb', line 3 def billing_locality @billing_locality end |
#billing_name ⇒ Object
Returns the value of attribute billing_name.
3 4 5 |
# File 'lib/nuvemshop/order.rb', line 3 def billing_name @billing_name end |
#billing_number ⇒ Object
Returns the value of attribute billing_number.
3 4 5 |
# File 'lib/nuvemshop/order.rb', line 3 def billing_number @billing_number end |
#billing_phone ⇒ Object
Returns the value of attribute billing_phone.
3 4 5 |
# File 'lib/nuvemshop/order.rb', line 3 def billing_phone @billing_phone end |
#billing_province ⇒ Object
Returns the value of attribute billing_province.
3 4 5 |
# File 'lib/nuvemshop/order.rb', line 3 def billing_province @billing_province end |
#billing_zipcode ⇒ Object
Returns the value of attribute billing_zipcode.
3 4 5 |
# File 'lib/nuvemshop/order.rb', line 3 def billing_zipcode @billing_zipcode end |
#cancel_reason ⇒ Object
Returns the value of attribute cancel_reason.
3 4 5 |
# File 'lib/nuvemshop/order.rb', line 3 def cancel_reason @cancel_reason end |
#cancelled_at ⇒ Object
Returns the value of attribute cancelled_at.
3 4 5 |
# File 'lib/nuvemshop/order.rb', line 3 def cancelled_at @cancelled_at end |
#checkout_enabled ⇒ Object
Returns the value of attribute checkout_enabled.
3 4 5 |
# File 'lib/nuvemshop/order.rb', line 3 def checkout_enabled @checkout_enabled end |
#client_details ⇒ Object
Returns the value of attribute client_details.
3 4 5 |
# File 'lib/nuvemshop/order.rb', line 3 def client_details @client_details end |
#closed_at ⇒ Object
Returns the value of attribute closed_at.
3 4 5 |
# File 'lib/nuvemshop/order.rb', line 3 def closed_at @closed_at end |
#completed_at ⇒ Object
Returns the value of attribute completed_at.
3 4 5 |
# File 'lib/nuvemshop/order.rb', line 3 def completed_at @completed_at end |
#coupon ⇒ Object
Returns the value of attribute coupon.
3 4 5 |
# File 'lib/nuvemshop/order.rb', line 3 def coupon @coupon end |
#created_at ⇒ Object
Returns the value of attribute created_at.
3 4 5 |
# File 'lib/nuvemshop/order.rb', line 3 def created_at @created_at end |
#currency ⇒ Object
Returns the value of attribute currency.
3 4 5 |
# File 'lib/nuvemshop/order.rb', line 3 def currency @currency end |
#customer ⇒ Object
Returns the value of attribute customer.
3 4 5 |
# File 'lib/nuvemshop/order.rb', line 3 def customer @customer end |
#discount ⇒ Object
Returns the value of attribute discount.
3 4 5 |
# File 'lib/nuvemshop/order.rb', line 3 def discount @discount end |
#discount_coupon ⇒ Object
Returns the value of attribute discount_coupon.
3 4 5 |
# File 'lib/nuvemshop/order.rb', line 3 def discount_coupon @discount_coupon end |
#discount_gateway ⇒ Object
Returns the value of attribute discount_gateway.
3 4 5 |
# File 'lib/nuvemshop/order.rb', line 3 def discount_gateway @discount_gateway end |
#extra ⇒ Object
Returns the value of attribute extra.
3 4 5 |
# File 'lib/nuvemshop/order.rb', line 3 def extra @extra end |
#gateway ⇒ Object
Returns the value of attribute gateway.
3 4 5 |
# File 'lib/nuvemshop/order.rb', line 3 def gateway @gateway end |
#gateway_id ⇒ Object
Returns the value of attribute gateway_id.
3 4 5 |
# File 'lib/nuvemshop/order.rb', line 3 def gateway_id @gateway_id end |
#id ⇒ Object
Returns the value of attribute id.
3 4 5 |
# File 'lib/nuvemshop/order.rb', line 3 def id @id end |
#landing_url ⇒ Object
Returns the value of attribute landing_url.
3 4 5 |
# File 'lib/nuvemshop/order.rb', line 3 def landing_url @landing_url end |
#language ⇒ Object
Returns the value of attribute language.
3 4 5 |
# File 'lib/nuvemshop/order.rb', line 3 def language @language end |
#next_action ⇒ Object
Returns the value of attribute next_action.
3 4 5 |
# File 'lib/nuvemshop/order.rb', line 3 def next_action @next_action end |
#note ⇒ Object
Returns the value of attribute note.
3 4 5 |
# File 'lib/nuvemshop/order.rb', line 3 def note @note end |
#number ⇒ Object
Returns the value of attribute number.
3 4 5 |
# File 'lib/nuvemshop/order.rb', line 3 def number @number end |
#owner_note ⇒ Object
Returns the value of attribute owner_note.
3 4 5 |
# File 'lib/nuvemshop/order.rb', line 3 def owner_note @owner_note end |
#paid_at ⇒ Object
Returns the value of attribute paid_at.
3 4 5 |
# File 'lib/nuvemshop/order.rb', line 3 def paid_at @paid_at end |
#payment_details ⇒ Object
Returns the value of attribute payment_details.
3 4 5 |
# File 'lib/nuvemshop/order.rb', line 3 def payment_details @payment_details end |
#payment_status ⇒ Object
Returns the value of attribute payment_status.
3 4 5 |
# File 'lib/nuvemshop/order.rb', line 3 def payment_status @payment_status end |
#products ⇒ Object
Returns the value of attribute products.
3 4 5 |
# File 'lib/nuvemshop/order.rb', line 3 def products @products end |
#promotional_discount ⇒ Object
Returns the value of attribute promotional_discount.
3 4 5 |
# File 'lib/nuvemshop/order.rb', line 3 def promotional_discount @promotional_discount end |
#read_at ⇒ Object
Returns the value of attribute read_at.
3 4 5 |
# File 'lib/nuvemshop/order.rb', line 3 def read_at @read_at end |
#shipped_at ⇒ Object
Returns the value of attribute shipped_at.
3 4 5 |
# File 'lib/nuvemshop/order.rb', line 3 def shipped_at @shipped_at end |
#shipping ⇒ Object
Returns the value of attribute shipping.
3 4 5 |
# File 'lib/nuvemshop/order.rb', line 3 def shipping @shipping end |
#shipping_address ⇒ Object
Returns the value of attribute shipping_address.
3 4 5 |
# File 'lib/nuvemshop/order.rb', line 3 def shipping_address @shipping_address end |
#shipping_cost_customer ⇒ Object
Returns the value of attribute shipping_cost_customer.
3 4 5 |
# File 'lib/nuvemshop/order.rb', line 3 def shipping_cost_customer @shipping_cost_customer end |
#shipping_cost_owner ⇒ Object
Returns the value of attribute shipping_cost_owner.
3 4 5 |
# File 'lib/nuvemshop/order.rb', line 3 def shipping_cost_owner @shipping_cost_owner end |
#shipping_max_days ⇒ Object
Returns the value of attribute shipping_max_days.
3 4 5 |
# File 'lib/nuvemshop/order.rb', line 3 def shipping_max_days @shipping_max_days end |
#shipping_min_days ⇒ Object
Returns the value of attribute shipping_min_days.
3 4 5 |
# File 'lib/nuvemshop/order.rb', line 3 def shipping_min_days @shipping_min_days end |
#shipping_option ⇒ Object
Returns the value of attribute shipping_option.
3 4 5 |
# File 'lib/nuvemshop/order.rb', line 3 def shipping_option @shipping_option end |
#shipping_option_code ⇒ Object
Returns the value of attribute shipping_option_code.
3 4 5 |
# File 'lib/nuvemshop/order.rb', line 3 def shipping_option_code @shipping_option_code end |
#shipping_option_reference ⇒ Object
Returns the value of attribute shipping_option_reference.
3 4 5 |
# File 'lib/nuvemshop/order.rb', line 3 def shipping_option_reference @shipping_option_reference end |
#shipping_pickup_details ⇒ Object
Returns the value of attribute shipping_pickup_details.
3 4 5 |
# File 'lib/nuvemshop/order.rb', line 3 def shipping_pickup_details @shipping_pickup_details end |
#shipping_pickup_type ⇒ Object
Returns the value of attribute shipping_pickup_type.
3 4 5 |
# File 'lib/nuvemshop/order.rb', line 3 def shipping_pickup_type @shipping_pickup_type end |
#shipping_status ⇒ Object
Returns the value of attribute shipping_status.
3 4 5 |
# File 'lib/nuvemshop/order.rb', line 3 def shipping_status @shipping_status end |
#shipping_store_branch_name ⇒ Object
Returns the value of attribute shipping_store_branch_name.
3 4 5 |
# File 'lib/nuvemshop/order.rb', line 3 def shipping_store_branch_name @shipping_store_branch_name end |
#shipping_suboption ⇒ Object
Returns the value of attribute shipping_suboption.
3 4 5 |
# File 'lib/nuvemshop/order.rb', line 3 def shipping_suboption @shipping_suboption end |
#shipping_tracking_number ⇒ Object
Returns the value of attribute shipping_tracking_number.
3 4 5 |
# File 'lib/nuvemshop/order.rb', line 3 def shipping_tracking_number @shipping_tracking_number end |
#shipping_tracking_url ⇒ Object
Returns the value of attribute shipping_tracking_url.
3 4 5 |
# File 'lib/nuvemshop/order.rb', line 3 def shipping_tracking_url @shipping_tracking_url end |
#status ⇒ Object
Returns the value of attribute status.
3 4 5 |
# File 'lib/nuvemshop/order.rb', line 3 def status @status end |
#store_id ⇒ Object
Returns the value of attribute store_id.
3 4 5 |
# File 'lib/nuvemshop/order.rb', line 3 def store_id @store_id end |
#storefront ⇒ Object
Returns the value of attribute storefront.
3 4 5 |
# File 'lib/nuvemshop/order.rb', line 3 def storefront @storefront end |
#subtotal ⇒ Object
Returns the value of attribute subtotal.
3 4 5 |
# File 'lib/nuvemshop/order.rb', line 3 def subtotal @subtotal end |
#token ⇒ Object
Returns the value of attribute token.
3 4 5 |
# File 'lib/nuvemshop/order.rb', line 3 def token @token end |
#total ⇒ Object
Returns the value of attribute total.
3 4 5 |
# File 'lib/nuvemshop/order.rb', line 3 def total @total end |
#total_usd ⇒ Object
Returns the value of attribute total_usd.
3 4 5 |
# File 'lib/nuvemshop/order.rb', line 3 def total_usd @total_usd end |
#updated_at ⇒ Object
Returns the value of attribute updated_at.
3 4 5 |
# File 'lib/nuvemshop/order.rb', line 3 def updated_at @updated_at end |
#weight ⇒ Object
Returns the value of attribute weight.
3 4 5 |
# File 'lib/nuvemshop/order.rb', line 3 def weight @weight end |