Shop_ShippingParams class
Defined in |
/modules/shop/models/shop_shippingparams.php, lines 31-264 |
Inheritance |
Phpr_Extension » Phpr_Extensible » Phpr_Validatable » Db_Base » Db_WhereBase » Db_SqlBase » Db_ActiveRecord » Shop_ShippingParams |
Author |
LemonStand eCommerce Inc. |
Represents the store shipping configuration.
This class contains the shipping configuration information that you can edit on the System/Shipping Configuration page.
Show inherited properties.
Property details
¶
city property
public string $city;
Specifies the shipping origin city name.
¶
country property
A reference to the shipping origin country.
¶
default_country property
A reference to the default shipping country.
¶
default_shipping_city property
public string $default_shipping_city;
Specifies the default shipping city name.
¶
default_shipping_zip property
public string $default_shipping_zip;
Specifies the default shipping ZIP/postal code.
¶
default_state property
A reference to the default shipping state.
¶
dimension_unit property
public string $dimension_unit;
Specifies the dimensions unit to use in the shipping cost calculations. Allowed values are:
¶
display_shipping_service_errors property
public boolean $display_shipping_service_errors;
Determines if shipping service errors should be displayed to visitors.
¶
sender_company property
public string $sender_company;
Specifies the sender company name.
¶
sender_first_name property
public string $sender_first_name;
Specifies the sender first name.
¶
sender_last_name property
public string $sender_last_name;
Specifies the sender last name.
¶
sender_phone property
public string $sender_phone;
Specifies the sender phone number.
¶
state property
A reference to the shipping origin state.
¶
street_addr property
public string $street_addr;
Specifies the shipping origin street address.
¶
weight_unit property
public string $weight_unit;
Specifies the weight unit to use in the shipping cost calculations. Allowed values are:
¶
zip_code property
public string $zip_code;
Specifies the shipping origin ZIP/postal code.
Method details
¶
get() method
public static Shop_ShippingParams get(boolean $edit_mode=false)
$edit_mode |
boolean |
this parameter is used by the system internally. |
{return} |
Shop_ShippingParams |
returns the Shop_ShippingParams object. |
Returns the class instance.
Use this method instead of the constructor to create instances of the class.
|