Class ShippingInfo

Value container used for shipping calculations. This class is
meant to allow the front end code to pass shipping options
to the business object. The Invoice object then utilizes the
data stored in this object to calculate shipping rates for
the invoice in combination with the LineItems of the invoice.

Use of this object is user definable - you can choose on what
values are set and what they mean. You can also extend this
class with any custom options you need to pass forward. The
idea is that this object lets the front end communicate
values from the UI back to the Invoice to do its job
in the Invoice.CalculateShipping() method.


Assembly: webstorebusiness.dll
Namespace: Westwind.WebStore

Object
  ShippingInfo

Object
  <<b>>ShippingInfo<</b>>

Class Members

MemberDescription

CountryId

The two letter country ID that is shipped to

FixedPrice

Optional value that can be set to identify a fixed

ShippingMethod

Shipper ID. This is a user defined value that corresponds

ShipToCustomer

Flag that determines whether anything needs to be shipped

State

The State that is shipped to

TotalWeight

The total weight of the items of this order. Note this value is set

UseInvoiceFields

if

UseShippingAddress

Determines whether we use a separate shipping address

Zip

The PostalCode that is shipped to

LoadFromInvoice

Loads the Shipping invoice structure from a currently selected invoice object.

public void ShippingInfo.LoadFromInvoice(busInvoice Invoice)

ToString

Override so that we can see content in Trace for the Session

public ToString()


© West Wind Technologies, 1996-2018 • Updated: 12/14/03
Comment or report problem with topic