$adapter
$adapter : mixed
Payment adapter
Payment class
$fields : array
Common transaction fields.
These are the common transaction fields that will be normalized to the proper field names by the adapter. You can also add direct adapter-specific fields to the payment transaction object that won't be affected by the field normalization, for example:
(Authorize.net) $payment->x_invoice_num = '12345';
(UsaEPay) $payment->UMinvoice = '12345';
__construct(\Pop\Payment\Adapter\AbstractAdapter $adapter) : \Pop\Payment\Payment
Constructor
Instantiate the payment object
\Pop\Payment\Adapter\AbstractAdapter | $adapter |
adapter() : \Pop\Payment\Adapter\AbstractAdapter
Access the adapter
shippingSameAsBilling() : \Pop\Payment\Payment
Set the shipping data fields to the same as billing data fields