\OrderPaymentCore

Summary

Methods
Properties
Constants
add()
getByOrderId()
getByOrderReference()
getByInvoiceId()
getOrderInvoice()
$order_reference
$id_currency
$amount
$payment_method
$conversion_rate
$transaction_id
$card_number
$card_brand
$card_expiration
$card_holder
$date_add
$definition
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$order_reference

$order_reference : 

Type

$id_currency

$id_currency : 

Type

$amount

$amount : 

Type

$payment_method

$payment_method : 

Type

$conversion_rate

$conversion_rate : 

Type

$transaction_id

$transaction_id : 

Type

$card_number

$card_number : 

Type

$card_brand

$card_brand : 

Type

$card_expiration

$card_expiration : 

Type

$card_holder

$card_holder : 

Type

$date_add

$date_add : 

Type

$definition

$definition : 

Type

Methods

add()

add(  $autodate = true,   $nullValues = false) 

Parameters

$autodate
$nullValues

getByOrderId()

getByOrderId(integer  $id_order) : array

Get the detailed payment of an order

Parameters

integer $id_order

Returns

array

getByOrderReference()

getByOrderReference(integer  $order_reference) : array

Get the detailed payment of an order

Parameters

integer $order_reference

Returns

array

getByInvoiceId()

getByInvoiceId(integer  $id_invoice) : \PrestaShopCollection

Get Order Payments By Invoice ID

Parameters

integer $id_invoice

Invoice ID

Returns

\PrestaShopCollection —

Collection of OrderPayment

getOrderInvoice()

getOrderInvoice(integer  $id_order) 

Return order invoice object linked to the payment

Parameters

integer $id_order

Order Id