Skip to content

classes_modules_payment_ishoporderitem.class

Daniel Spors edited this page Dec 19, 2023 · 2 revisions

Classes in file modules/payment/ishoporderitem.class.php

interface IShopOrderItem

Order items Models must implement this.

GetAmount

Gets the price per item converted into the requested currency.

Definition: public function GetAmount($currency)

Returns: float The price per item converted into $currency

Parameters:

  • string $currency Currency code

GetDiscount

Gets the discount.

Definition: public function GetDiscount()

Returns: float The discount

GetHandling

Gets the handling cost.

Definition: public function GetHandling()

Returns: float Cost for handling

GetName

Gets the items name.

Definition: public function GetName()

Returns: string The item name

GetQuantity

Gets the quantity.

Definition: public function GetQuantity()

Returns: float The quantity

GetShipping

Gets the shipping cost.

Definition: public function GetShipping()

Returns: float Cost for shipping

Clone this wiki locally