package Modules\InvoicePolicy
inherited_from \ShippingPolicyFactory

 Methods

CommitTransaction()

CommitTransaction() 
Inherited

Delete()

Delete() 
Inherited

ExecuteSQL()

ExecuteSQL($query, $ph = NULL, $limit = NULL, $page = NULL
Inherited

Parameters

$query

$ph

$limit

$page

FailTransaction()

FailTransaction() 
Inherited

RetryExecuteSQL()

RetryExecuteSQL($query, $ph = NULL, $retry_max_attempts = 2, $sleep = 5
Inherited

Parameters

$query

$ph

$retry_max_attempts

$sleep

Save()

Save($reset_data = TRUE, $force_lookup = FALSE
Inherited

Parameters

$reset_data

$force_lookup

StartTransaction()

StartTransaction() 
Inherited

__construct()

__construct() 
Inherited

__toString()

__toString() 
Inherited

addLog()

addLog($log_action) 
Inherited

Parameters

$log_action

bulkDelete()

bulkDelete($ids) 
Inherited

Parameters

$ids

calcAmount()

calcAmount($shipment_packages_arr, $currency_id) 
Inherited

Parameters

$shipment_packages_arr

$currency_id

cancelShippingLabel()

cancelShippingLabel($tracking_number) 
Inherited

Parameters

$tracking_number

clearData()

clearData() 
Inherited

clearGeoCode()

clearGeoCode($data_diff = NULL
Inherited

Parameters

$data_diff

convertFlexArray()

convertFlexArray($array) 
Inherited

Parameters

$array

fromBool()

fromBool($value) 
Inherited

Parameters

$value

getAMFMessageID()

getAMFMessageID() 
Inherited

getAPISearchByCompanyIdAndArrayCriteria()

getAPISearchByCompanyIdAndArrayCriteria($company_id, $filter_data, $limit = NULL, $page = NULL, $where = NULL, $order = NULL

Parameters

$company_id

$filter_data

$limit

$page

$where

$order

getAll()

getAll($limit = NULL, $page = NULL, $where = NULL, $order = NULL

Parameters

$limit

$page

$where

$order

getBasePrice()

getBasePrice() 
Inherited

getByCompanyIDArray()

getByCompanyIDArray($id, $include_blank = TRUE
Static

Parameters

$id

$include_blank

getByCompanyId()

getByCompanyId($id, $where = NULL, $order = NULL

Parameters

$id

$where

$order

getById()

getById($id, $where = NULL, $order = NULL

Parameters

$id

$where

$order

getByIdAndCompanyId()

getByIdAndCompanyId($id, $company_id, $where = NULL, $order = NULL

Parameters

$id

$company_id

$where

$order

getByTargetProductId()

getByTargetProductId($product_id, $where = NULL, $order = NULL

Parameters

$product_id

$where

$order

getCache()

getCache($cache_id, $group_id = NULL
Inherited

Parameters

$cache_id

$group_id

getCallerFunction()

getCallerFunction() 
Inherited

getColumn()

getColumn($column) 
Inherited

Parameters

$column

getColumnList()

getColumnList() 
Inherited

getCombinedShippingPolicyServiceId()

getCombinedShippingPolicyServiceId($shipping_policy_id, $service_id) 
InheritedStatic

Parameters

$shipping_policy_id

$service_id

getCompany()

getCompany() 
Inherited

getCompanyGenericMapData()

getCompanyGenericMapData($company_id, $object_type_id, $id, $variable) 
Inherited

Parameters

$company_id

$object_type_id

$id

$variable

getCompanyObject()

getCompanyObject() 
Inherited

getCreatedAndUpdatedColumns()

getCreatedAndUpdatedColumns($data, $include_columns = NULL
Inherited

Parameters

$data

$include_columns

getCreatedBy()

getCreatedBy() 
Inherited

getCreatedDate()

getCreatedDate() 
Inherited

getCurrency()

getCurrency() 
Inherited

getCurrencyObject()

getCurrencyObject() 
Inherited

getCurrent()

getCurrent() 
Inherited

getCurrentRow()

getCurrentRow($offset = 1
Inherited

Parameters

$offset

getDateRangeSQL()

getDateRangeSQL($str, $column, $format = 'epoch', $include_blank_dates = FALSE
Inherited

Parameters

$str

$column

$format

$include_blank_dates

getDeleted()

getDeleted() 
Inherited

getDeletedBy()

getDeletedBy() 
Inherited

getDeletedDate()

getDeletedDate() 
Inherited

getDisplayOrder()

getDisplayOrder() 
Inherited

getEmptyRecordSet()

getEmptyRecordSet($id = NULL
Inherited

Parameters

$id

getEnableSystemLogDetail()

getEnableSystemLogDetail() 
Inherited

getExcludeAreaPolicy()

getExcludeAreaPolicy() 
Inherited

getGenericObject()

getGenericObject($list_factory, $id, $variable, $list_factory_method = 'getById', $id_method = 'getID'
Inherited

Parameters

$list_factory

$id

$variable

$list_factory_method

$id_method

getHandlingFee()

getHandlingFee() 
Inherited

getIDSByListFactory()

getIDSByListFactory($lf) 
Inherited

Parameters

$lf

getId()

getId() 
Inherited

getIncludeAreaPolicy()

getIncludeAreaPolicy() 
Inherited

getIterator()

getIterator() 
Inherited

getLabelId()

getLabelId() 
Inherited

getMarkupPercent()

getMarkupPercent() 
Inherited

getMaximumPrice()

getMaximumPrice() 
Inherited

getMinimumPrice()

getMinimumPrice() 
Inherited

getName()

getName() 
Inherited

getNextInsertId()

getNextInsertId() 
Inherited

getObjectAsArray()

getObjectAsArray($include_columns = NULL
Inherited

Parameters

$include_columns

getOptions()

getOptions($name, $parent = NULL
Inherited

Parameters

$name

$parent

getPassword()

getPassword() 
Inherited

getPermissionColumns()

getPermissionColumns($data, $object_user_id, $created_by_id, $permission_children_ids = NULL, $include_columns = NULL
Inherited

Parameters

$data

$object_user_id

$created_by_id

$permission_children_ids

$include_columns

getPickupInformation()

getPickupInformation($from_address_obj) 
Inherited

Parameters

$from_address_obj

getPrice()

getPrice() 
Inherited

getPrimaryAccount()

getPrimaryAccount() 
Inherited

getProduct()

getProduct() 
Inherited

getProductObject()

getProductObject() 
Inherited

getProgressBarObject()

getProgressBarObject() 
Inherited

getRecordCount()

getRecordCount() 
Inherited

getSecondaryAccount()

getSecondaryAccount() 
Inherited

getSequenceName()

getSequenceName() 
Inherited

getShipmentObject()

getShipmentObject($contact_obj, $shipment_packages_arr, $customs_data = NULL, $currency_id, $invoice_number = NULL
Inherited

Parameters

$contact_obj

$shipment_packages_arr

$customs_data

$currency_id

$invoice_number

getShippingLabel()

getShippingLabel($contact_obj, $shipment_packages_arr, $customs_data, $shipping_policy_service_id, $currency_id, $invoice_number = NULL
Inherited

Parameters

$contact_obj

$shipment_packages_arr

$customs_data

$shipping_policy_service_id

$currency_id

$invoice_number

getShippingOptionData()

getShippingOptionData($rate_request, $currency_id) 
Inherited

Parameters

$rate_request

$currency_id

getTable()

getTable($strip_quotes = FALSE
Inherited

Parameters

$strip_quotes

getTransactionMode()

getTransactionMode() 
Inherited

getType()

getType() 
Inherited

getUpdatedBy()

getUpdatedBy() 
Inherited

getUpdatedDate()

getUpdatedDate() 
Inherited

getUserName()

getUserName() 
Inherited

getValidSQLColumns()

getValidSQLColumns($array, $strict = TRUE, $additional_fields = NULL
Inherited

Parameters

$array

$strict

$additional_fields

getVariableToFunctionMap()

getVariableToFunctionMap($data = NULL
Inherited

Parameters

$data

getWeightUnit()

getWeightUnit() 
Inherited

isNew()

isNew($force_lookup = FALSE
Inherited

Parameters

$force_lookup

isSave()

isSave() 
Inherited

isValid()

isValid($ignore_warning = TRUE
Inherited

Parameters

$ignore_warning

isWarning()

isWarning() 
Inherited

parseCombinedShippingPolicyServiceId()

parseCombinedShippingPolicyServiceId($value) 
InheritedStatic

Parameters

$value

postSave()

postSave() 
Inherited

removeCache()

removeCache($cache_id = NULL, $group_id = NULL
Inherited

Parameters

$cache_id

$group_id

requestShippingOptionData()

requestShippingOptionData($contact_obj, $shipment_packages_arr, $customs_data, $currency_id) 
Inherited

Parameters

$contact_obj

$shipment_packages_arr

$customs_data

$currency_id

saveCache()

saveCache($data, $cache_id, $group_id = NULL
Inherited

Parameters

$data

$cache_id

$group_id

schedulePickup()

schedulePickup($contact_obj, $shipment_packages_arr, $shipping_policy_service_id, $currency_id) 
Inherited

Parameters

$contact_obj

$shipment_packages_arr

$shipping_policy_service_id

$currency_id

serializeRS()

serializeRS($rs) 
Inherited

Parameters

$rs

setAMFMessageID()

setAMFMessageID($id) 
Inherited

Parameters

$id

setBasePrice()

setBasePrice($value) 
Inherited

Parameters

$value

setCacheLifeTime()

setCacheLifeTime($secs) 
Inherited

Parameters

$secs

setCompany()

setCompany($id) 
Inherited

Parameters

$id

setCreatedAndUpdatedColumns()

setCreatedAndUpdatedColumns($data, $variable_to_function_map = array()
Inherited

Parameters

$data

$variable_to_function_map

setCreatedBy()

setCreatedBy($id = NULL
Inherited

Parameters

$id

setCreatedDate()

setCreatedDate($epoch = NULL
Inherited

Parameters

$epoch

setCurrency()

setCurrency($id) 
Inherited

Parameters

$id

setDeleted()

setDeleted($bool) 
Inherited

Parameters

$bool

setDeletedBy()

setDeletedBy($id = NULL
Inherited

Parameters

$id

setDeletedDate()

setDeletedDate($epoch = NULL
Inherited

Parameters

$epoch

setDisplayOrder()

setDisplayOrder($value) 
Inherited

Parameters

$value

setEnableSystemLogDetail()

setEnableSystemLogDetail($bool) 
Inherited

Parameters

$bool

setExcludeAreaPolicy()

setExcludeAreaPolicy($ids) 
Inherited

Parameters

$ids

setGenericObject()

setGenericObject($obj, $variable) 
Inherited

Parameters

$obj

$variable

setHandlingFee()

setHandlingFee($value) 
Inherited

Parameters

$value

setId()

setId($id) 
Inherited

Parameters

$id

setIncludeAreaPolicy()

setIncludeAreaPolicy($ids) 
Inherited

Parameters

$ids

setMarkupPercent()

setMarkupPercent($value) 
Inherited

Parameters

$value

setMaximumPrice()

setMaximumPrice($value) 
Inherited

Parameters

$value

setMinimumPrice()

setMinimumPrice($value) 
Inherited

Parameters

$value

setName()

setName($value) 
Inherited

Parameters

$value

setObjectFromArray()

setObjectFromArray($data) 
Inherited

Parameters

$data

setPassword()

setPassword($value) 
Inherited

Parameters

$value

setPrice()

setPrice($value) 
Inherited

Parameters

$value

setPrimaryAccount()

setPrimaryAccount($value) 
Inherited

Parameters

$value

setProduct()

setProduct($id) 
Inherited

Parameters

$id

setProgressBarObject()

setProgressBarObject($obj) 
Inherited

Parameters

$obj

setQueryStatementTimeout()

setQueryStatementTimeout($milliseconds = NULL
Inherited

Parameters

$milliseconds

setSecondaryAccount()

setSecondaryAccount($value) 
Inherited

Parameters

$value

setTransactionMode()

setTransactionMode($mode = ''
Inherited

Parameters

$mode

setType()

setType($type) 
Inherited

Parameters

$type

setUpdatedBy()

setUpdatedBy($id = NULL
Inherited

Parameters

$id

setUpdatedDate()

setUpdatedDate($epoch = NULL
Inherited

Parameters

$epoch

setUserName()

setUserName($value) 
Inherited

Parameters

$value

setWeightUnit()

setWeightUnit($value) 
Inherited

Parameters

$value

toBool()

toBool($value) 
Inherited

Parameters

$value

unserializeRS()

unserializeRS($rs) 
Inherited

Parameters

$rs

_getFactoryOptions()

_getFactoryOptions($name, $parent = NULL
Inherited

Parameters

$name

$parent

_getVariableToFunctionMap()

_getVariableToFunctionMap($data) 
Inherited

Parameters

$data

castInteger()

castInteger($int, $type = 'int'
Inherited

Parameters

$int

$type

getColumnsFromAliases()

getColumnsFromAliases($columns, $aliases) 
Inherited

Parameters

$columns

$aliases

getDatabaseType()

getDatabaseType() 
Inherited

getGEOMAsTextFunction()

getGEOMAsTextFunction($sql) 
Inherited

Parameters

$sql

getListSQL()

getListSQL($array, $ph = NULL, $cast = FALSE
Inherited

Parameters

$array

$ph

$cast

getSQLStringAggregate()

getSQLStringAggregate($sql, $glue) 
Inherited

Parameters

$sql

$glue

getSQLToEpochFunction()

getSQLToEpochFunction($sql) 
Inherited

Parameters

$sql

getSQLToTimeFunction()

getSQLToTimeFunction($sql) 
Inherited

Parameters

$sql

getSQLToTimeStampFunction()

getSQLToTimeStampFunction() 
Inherited

getSortSQL()

getSortSQL($array, $strict = TRUE, $additional_fields = NULL
Inherited

Parameters

$array

$strict

$additional_fields

getWhereClauseSQL()

getWhereClauseSQL($columns, $args, $type, $ph, $query_stub = NULL, $and = TRUE
Inherited

Parameters

$columns

$args

$type

$ph

$query_stub

$and

getWhereSQL()

getWhereSQL($array, $append_where = FALSE
Inherited

Parameters

$array

$append_where

handleSQLSyntax()

handleSQLSyntax($arg) 
Inherited

Parameters

$arg

stripSQLSyntax()

stripSQLSyntax($arg) 
Inherited

Parameters

$arg

getInsertQuery()

getInsertQuery() 
Inherited

getRecordSetColumnList()

getRecordSetColumnList($rs) 
Inherited

Parameters

$rs

getUpdateQuery()

getUpdateQuery() 
Inherited

parseColumnName()

parseColumnName($column) 
Inherited

Parameters

$column

 Properties

 

$data

$data 

Default

array()
 

$old_data

$old_data 

Default

array()
 

$validate_only

$validate_only 

Default

FALSE
 

$AMF_message_id

$AMF_message_id 

Default

NULL
 

$company_obj

$company_obj 

Default

NULL
 

$currency_obj

$currency_obj 

Default

NULL
 

$enable_system_log_detail

$enable_system_log_detail 

Default

TRUE
 

$next_insert_id

$next_insert_id 

Default

NULL
 

$pk_sequence_name

$pk_sequence_name 

Default

'shipping_policy_id_seq'
 

$product_obj

$product_obj 

Default

NULL
 

$progress_bar_obj

$progress_bar_obj 

Default

NULL
 

$table

$table 

Default

'shipping_policy'