CheckoutService
Table of Contents
Methods
- createAddreesJson() : mixed
- loadPOData() : void
- findShippingFee() : int|float
- Desc: Retorna el costo de envío por ciudad.
Methods
createAddreesJson()
public
createAddreesJson(CustomerAddress $customerAddreess[, mixed $array = false ]) : mixed
Parameters
- $customerAddreess : CustomerAddress
- $array : mixed = false
loadPOData()
public
loadPOData(ProductOrder $orderModel, string|null $origin, CustomerAddress, discount: float, coupon: string, po_no: string, checkout_type: string} $data) : void
Parameters
- $orderModel : ProductOrder
- $origin : string|null
- $data : CustomerAddress, discount: float, coupon: string, po_no: string, checkout_type: string}
findShippingFee()
Desc: Retorna el costo de envío por ciudad.
protected
findShippingFee(string $state, string $city) : int|float
Notes: n/a, Ref: n/a
Date: 2025-08-07, Version: v0.2507.01
Example: n/a
Parameters
- $state : string
- $city : string