|
NAMEInterchange6::Schema::Result::OrderACCESSORSorders_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.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 0payment_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 0handlingThe numeric cost associated with handling the order. Default is 0.salestaxThe total tax applied to the order. Default is 0total_costThe total cost of all items shipping handling and tax for the order. Default is 0.RELATIONSshipping_addressType: belongs_toRelated object: Interchange6::Schema::Result::Address billing_addressType: belongs_toRelated object: Interchange6::Schema::Result::Address orderlinesType: has_manyRelated object: Interchange6::Schema::Result::Orderline payment_ordersType: has_manyRelated object: Interchange6::Schema::Result::PaymentOrder userType: belongs_toRelated object: Interchange6::Schema::Result::User order_commentsType: has_manyRelated object: Interchange6::Schema::Result::OrderComment _commentsType: many_to_manyThis is considered a private method. Please see public "comments" and "add_to_comments" methods. statusesType: has_manyRelated object: Interchange6::Schema::Result::OrderStatus METHODScomments
add_to_comments
See "add_to_$rel" in DBIx::Class::Relationship::Base many_to_many for further details. set_comments
Similar 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.
Visit the GSP FreeBSD Man Page Interface. |