![]() |
![]()
| ![]() |
![]()
NAMEInterchange6::Schema::Result::Order ACCESSORSorders_idPrimary key. order_numberUnique representation of the order. order_dateTimestamp of when the order was placed. Is nullable. users_idForeign key constraint on "users_id" in Interchange6::Schema::Result::User via "user" relationship. Email address used for the order. Default is empty string shipping_addresses_idForeign key constraint on "addresses_id" in Interchange6::Schema::Result::Address via "shipping_address" relationship. billing_addresses_idForeign key constraint on "addresses_id" in Interchange6::Schema::Result::Address via "billing_address" relationship. weightTotal numeric weight of the order. Default is 0 payment_methodThis is the type of payment used for the order. payment_numberA validation record for the payment. payment_statusThe status of the payment for the current order. shipping_methodWhat shipping method was used for the order. subtotalThe sum of all items in the cart before tax and shipping costs. Defaults to 0. shippingThe numeric cost associated with shipping the order. Default is 0 handlingThe numeric cost associated with handling the order. Default is 0. salestaxThe total tax applied to the order. Default is 0 total_costThe total cost of all items shipping handling and tax for the order. Default is 0. RELATIONSshipping_addressType: belongs_to Related object: Interchange6::Schema::Result::Address billing_addressType: belongs_to Related object: Interchange6::Schema::Result::Address orderlinesType: has_many Related object: Interchange6::Schema::Result::Orderline payment_ordersType: has_many Related object: Interchange6::Schema::Result::PaymentOrder userType: belongs_to Related object: Interchange6::Schema::Result::User order_commentsType: has_many Related object: Interchange6::Schema::Result::OrderComment _commentsType: many_to_many This is considered a private method. Please see public "comments" and "add_to_comments" methods. statusesType: has_many Related object: Interchange6::Schema::Result::OrderStatus METHODScommentsadd_to_commentsSee "add_to_$rel" in DBIx::Class::Relationship::Base many_to_many for further details. set_commentsSimilar to "set_$rel" in DBIx::Class::Relationship::Base except that this method D OES delete objects in the table on the right side of the relation. deleteOverload delete to force removal of any order comments. insertOverride insert so that if no Interchange6::Schema::Result::OrderStatus has been provided via multicreate then create a single status named "new". statusOption argument $status will cause creation of a new related entry in Interchange6::Schema::Result::OrderStatus. Returns the most recent "status" in Interchange6::Schema::Result::OrderStatus or undef if none are found. If initial result set was created using "with_status" in Interchange6::Schema::ResultSet::Order then the status added by that method will be returned so that a new query is not required.
|