AmazonSale
extends AmazonBase
in package
uses
TraitAmazonSale
Table of Contents
Properties
- $amazon_order_id : mixed
- $amazon_order_item_id : mixed
- $asin : mixed
- $bill_address_1 : mixed
- $bill_address_2 : mixed
- $bill_address_3 : mixed
- $bill_city : mixed
- $bill_country : mixed
- $bill_postal_code : mixed
- $bill_state : mixed
- $buyer_email : mixed
- $buyer_name : mixed
- $buyer_phone_number : mixed
- $carrier : mixed
- $create_time : mixed
- $currency : mixed
- $estimated_arrival_date : mixed
- $from_country_id : mixed
- $fulfillment_center_id : mixed
- $fulfillment_channel : mixed
- $gift_wrap_price : mixed
- $gift_wrap_tax : mixed
- $id : mixed
- $item_price : mixed
- $item_promotion_discount : mixed
- $item_tax : mixed
- $merchant_order_id : mixed
- $merchant_order_item_id : mixed
- $payments_date : mixed
- $product_name : mixed
- $purchase_date : mixed
- $quantity_shipped : mixed
- $recipient_name : mixed
- $reporting_date : mixed
- $sales_channel : mixed
- $ship_address_1 : mixed
- $ship_address_2 : mixed
- $ship_address_3 : mixed
- $ship_city : mixed
- $ship_country : mixed
- $ship_phone_number : mixed
- $ship_postal_code : mixed
- $ship_promotion_discount : mixed
- $ship_service_level : mixed
- $ship_state : mixed
- $shipment_date : mixed
- $shipment_id : mixed
- $shipment_item_id : mixed
- $shipping_price : mixed
- $shipping_tax : mixed
- $sku : mixed
- $tracking_number : mixed
- $update_time : mixed
- $user_id : mixed
Methods
- assignJobMergedData() : mixed
- beforeSave() : mixed
- exists() : bool
- fetchAsArray() : mixed
- fetchAsAssocArray() : mixed
- fetchAsMultiAssocArray() : mixed
- find() : false|array<string|int, static>
- findFirst() : static|false
- fixParameters() : mixed
- fromArray() : mixed
- getAmazonOrderId() : mixed
- getAmazonOrderItemId() : mixed
- getAsin() : mixed
- getBillAddress1() : mixed
- getBillAddress2() : mixed
- getBillAddress3() : mixed
- getBillCity() : mixed
- getBillCountry() : mixed
- getBillingDataList() : mixed
- getBillPostalCode() : mixed
- getBillState() : mixed
- getBuyerDataList() : mixed
- getBuyerEmail() : mixed
- getBuyerName() : mixed
- getBuyerPhoneNumber() : mixed
- getCarrier() : mixed
- getCreateTime() : mixed
- getCurrency() : mixed
- getEstimatedArrivalDate() : mixed
- getFromCountryId() : mixed
- getFromCountryTwo() : mixed
- getFulfillmentCenterId() : mixed
- getFulfillmentChannel() : mixed
- getGiftWrapPrice() : mixed
- getGiftWrapTax() : mixed
- getId() : mixed
- getItemPrice() : mixed
- getItemPromotionDiscount() : mixed
- getItemTax() : mixed
- getMerchantOrderId() : mixed
- getMerchantOrderItemId() : mixed
- getPaymentsDate() : mixed
- getProductIdentityArray() : mixed
- getProductIdName() : mixed
- getProductName() : mixed
- getPurchaseDate() : mixed
- getQuantity() : mixed
- getQuantityShipped() : mixed
- getRecipientName() : mixed
- getReportingDate() : mixed
- getSalesChannel() : mixed
- getShipAddress1() : mixed
- getShipAddress2() : mixed
- getShipAddress3() : mixed
- getShipCity() : mixed
- getShipCountry() : mixed
- getShipmentDate() : mixed
- getShipmentId() : mixed
- getShipmentItemId() : mixed
- getShipPhoneNumber() : mixed
- getShippingDataList() : mixed
- getShippingPrice() : mixed
- getShippingTax() : mixed
- getShipPostalCode() : mixed
- getShipPromotionDiscount() : mixed
- getShipServiceLevel() : mixed
- getShipState() : mixed
- getSku() : mixed
- getThe() : mixed
- getToCountryTwo() : mixed
- getTrackingNumber() : mixed
- getUpdateTime() : mixed
- getUserId() : mixed
- initialize() : mixed
- mapper() : mixed
- save() : bool
- set() : mixed
- setCreateTime() : $this
- If $createTime is null, default value now.
- setUpdateTime() : $this
- If $updateTime is null, default value now.
- writeAttributeIfNeeded() : mixed
- _createKey() : mixed
- getDataList() : mixed
Properties
$amazon_order_id
protected
mixed
$amazon_order_id
$amazon_order_item_id
protected
mixed
$amazon_order_item_id
$asin
protected
mixed
$asin
$bill_address_1
protected
mixed
$bill_address_1
$bill_address_2
protected
mixed
$bill_address_2
$bill_address_3
protected
mixed
$bill_address_3
$bill_city
protected
mixed
$bill_city
$bill_country
protected
mixed
$bill_country
$bill_postal_code
protected
mixed
$bill_postal_code
$bill_state
protected
mixed
$bill_state
$buyer_email
protected
mixed
$buyer_email
$buyer_name
protected
mixed
$buyer_name
$buyer_phone_number
protected
mixed
$buyer_phone_number
$carrier
protected
mixed
$carrier
$create_time
protected
mixed
$create_time
$currency
protected
mixed
$currency
$estimated_arrival_date
protected
mixed
$estimated_arrival_date
$from_country_id
protected
mixed
$from_country_id
$fulfillment_center_id
protected
mixed
$fulfillment_center_id
$fulfillment_channel
protected
mixed
$fulfillment_channel
$gift_wrap_price
protected
mixed
$gift_wrap_price
$gift_wrap_tax
protected
mixed
$gift_wrap_tax
$id
protected
mixed
$id
$item_price
protected
mixed
$item_price
$item_promotion_discount
protected
mixed
$item_promotion_discount
$item_tax
protected
mixed
$item_tax
$merchant_order_id
protected
mixed
$merchant_order_id
$merchant_order_item_id
protected
mixed
$merchant_order_item_id
$payments_date
protected
mixed
$payments_date
$product_name
protected
mixed
$product_name
$purchase_date
protected
mixed
$purchase_date
$quantity_shipped
protected
mixed
$quantity_shipped
$recipient_name
protected
mixed
$recipient_name
$reporting_date
protected
mixed
$reporting_date
$sales_channel
protected
mixed
$sales_channel
$ship_address_1
protected
mixed
$ship_address_1
$ship_address_2
protected
mixed
$ship_address_2
$ship_address_3
protected
mixed
$ship_address_3
$ship_city
protected
mixed
$ship_city
$ship_country
protected
mixed
$ship_country
$ship_phone_number
protected
mixed
$ship_phone_number
$ship_postal_code
protected
mixed
$ship_postal_code
$ship_promotion_discount
protected
mixed
$ship_promotion_discount
$ship_service_level
protected
mixed
$ship_service_level
$ship_state
protected
mixed
$ship_state
$shipment_date
protected
mixed
$shipment_date
$shipment_id
protected
mixed
$shipment_id
$shipment_item_id
protected
mixed
$shipment_item_id
$shipping_price
protected
mixed
$shipping_price
$shipping_tax
protected
mixed
$shipping_tax
$sku
protected
mixed
$sku
$tracking_number
protected
mixed
$tracking_number
$update_time
protected
mixed
$update_time
$user_id
protected
mixed
$user_id
Methods
assignJobMergedData()
public
assignJobMergedData() : mixed
beforeSave()
public
beforeSave() : mixed
exists()
public
exists() : bool
Return values
boolfetchAsArray()
public
static fetchAsArray([mixed $parameter = null ]) : mixed
Parameters
- $parameter : mixed = null
fetchAsAssocArray()
public
static fetchAsAssocArray([mixed $parameter = null ][, mixed $key = 'id' ][, mixed $cols = null ]) : mixed
Parameters
- $parameter : mixed = null
- $key : mixed = 'id'
- $cols : mixed = null
fetchAsMultiAssocArray()
public
static fetchAsMultiAssocArray([mixed $parameter = null ][, mixed $keyname = ['id'] ][, mixed $cols = null ]) : mixed
Parameters
- $parameter : mixed = null
- $keyname : mixed = ['id']
- $cols : mixed = null
find()
public
static find([array<string|int, mixed>|null|int $parameters = null ]) : false|array<string|int, static>
Parameters
- $parameters : array<string|int, mixed>|null|int = null
Return values
false|array<string|int, static>findFirst()
public
static findFirst([array<string|int, mixed>|null|int $parameters = null ]) : static|false
Parameters
- $parameters : array<string|int, mixed>|null|int = null
Return values
static|falsefixParameters()
public
static fixParameters([mixed $parameters = null ]) : mixed
Parameters
- $parameters : mixed = null
fromArray()
public
static fromArray(mixed $array) : mixed
Parameters
- $array : mixed
getAmazonOrderId()
public
getAmazonOrderId() : mixed
getAmazonOrderItemId()
public
getAmazonOrderItemId() : mixed
getAsin()
public
getAsin() : mixed
getBillAddress1()
public
getBillAddress1() : mixed
getBillAddress2()
public
getBillAddress2() : mixed
getBillAddress3()
public
getBillAddress3() : mixed
getBillCity()
public
getBillCity() : mixed
getBillCountry()
public
getBillCountry() : mixed
getBillingDataList()
public
getBillingDataList() : mixed
getBillPostalCode()
public
getBillPostalCode() : mixed
getBillState()
public
getBillState() : mixed
getBuyerDataList()
public
getBuyerDataList() : mixed
getBuyerEmail()
public
getBuyerEmail() : mixed
getBuyerName()
public
getBuyerName() : mixed
getBuyerPhoneNumber()
public
getBuyerPhoneNumber() : mixed
getCarrier()
public
getCarrier() : mixed
getCreateTime()
public
getCreateTime() : mixed
getCurrency()
public
getCurrency() : mixed
getEstimatedArrivalDate()
public
getEstimatedArrivalDate() : mixed
getFromCountryId()
public
getFromCountryId() : mixed
getFromCountryTwo()
public
getFromCountryTwo() : mixed
getFulfillmentCenterId()
public
getFulfillmentCenterId() : mixed
getFulfillmentChannel()
public
getFulfillmentChannel() : mixed
getGiftWrapPrice()
public
getGiftWrapPrice() : mixed
getGiftWrapTax()
public
getGiftWrapTax() : mixed
getId()
public
getId() : mixed
getItemPrice()
public
getItemPrice() : mixed
getItemPromotionDiscount()
public
getItemPromotionDiscount() : mixed
getItemTax()
public
getItemTax() : mixed
getMerchantOrderId()
public
getMerchantOrderId() : mixed
getMerchantOrderItemId()
public
getMerchantOrderItemId() : mixed
getPaymentsDate()
public
getPaymentsDate() : mixed
getProductIdentityArray()
public
getProductIdentityArray() : mixed
getProductIdName()
public
getProductIdName() : mixed
getProductName()
public
getProductName() : mixed
getPurchaseDate()
public
getPurchaseDate() : mixed
getQuantity()
public
getQuantity() : mixed
getQuantityShipped()
public
getQuantityShipped() : mixed
getRecipientName()
public
getRecipientName() : mixed
getReportingDate()
public
getReportingDate() : mixed
getSalesChannel()
public
getSalesChannel() : mixed
getShipAddress1()
public
getShipAddress1() : mixed
getShipAddress2()
public
getShipAddress2() : mixed
getShipAddress3()
public
getShipAddress3() : mixed
getShipCity()
public
getShipCity() : mixed
getShipCountry()
public
getShipCountry() : mixed
getShipmentDate()
public
getShipmentDate() : mixed
getShipmentId()
public
getShipmentId() : mixed
getShipmentItemId()
public
getShipmentItemId() : mixed
getShipPhoneNumber()
public
getShipPhoneNumber() : mixed
getShippingDataList()
public
getShippingDataList() : mixed
getShippingPrice()
public
getShippingPrice() : mixed
getShippingTax()
public
getShippingTax() : mixed
getShipPostalCode()
public
getShipPostalCode() : mixed
getShipPromotionDiscount()
public
getShipPromotionDiscount() : mixed
getShipServiceLevel()
public
getShipServiceLevel() : mixed
getShipState()
public
getShipState() : mixed
getSku()
public
getSku() : mixed
getThe()
public
static getThe(mixed $paramater) : mixed
Parameters
- $paramater : mixed
getToCountryTwo()
public
getToCountryTwo() : mixed
getTrackingNumber()
public
getTrackingNumber() : mixed
getUpdateTime()
public
getUpdateTime() : mixed
getUserId()
public
getUserId() : mixed
initialize()
public
initialize() : mixed
mapper()
public
static mapper(array<string|int, mixed> $map, array<string|int, mixed> $original[, bool $reverse = true ]) : mixed
Parameters
- $map : array<string|int, mixed>
- $original : array<string|int, mixed>
- $reverse : bool = true
save()
public
final save([mixed $data = null ][, mixed $whiteList = null ]) : bool
Parameters
- $data : mixed = null
- $whiteList : mixed = null
Return values
boolset()
public
set(mixed $property, mixed $value) : mixed
Parameters
- $property : mixed
- $value : mixed
setCreateTime()
If $createTime is null, default value now.
public
setCreateTime([mixed $createTime = null ]) : $this
Parameters
- $createTime : mixed = null
Return values
$thissetUpdateTime()
If $updateTime is null, default value now.
public
setUpdateTime([mixed $updateTime = null ]) : $this
Parameters
- $updateTime : mixed = null
Return values
$thiswriteAttributeIfNeeded()
public
writeAttributeIfNeeded(mixed $attribute, mixed $value) : mixed
Parameters
- $attribute : mixed
- $value : mixed
_createKey()
protected
static _createKey(mixed $parameters) : mixed
Parameters
- $parameters : mixed
getDataList()
protected
getDataList([array<string|int, mixed> $arr = [] ]) : mixed
Parameters
- $arr : array<string|int, mixed> = []