|
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Additional Inherited Members | |
Protected Attributes inherited from AbstractDb | |
| $_resources | |
| $connectionName = \Magento\Framework\App\ResourceConnection::DEFAULT_CONNECTION | |
| $_connections = [] | |
| $_resourceModel | |
| $_tables = [] | |
| $_mainTable | |
| $_idFieldName | |
| $_isPkAutoIncrement = true | |
| $_useIsObjectNew = false | |
| $_mainTableFields | |
| $_uniqueFields = null | |
| $_serializableFields = [] | |
| $transactionManager | |
| $objectRelationProcessor | |
Protected Attributes inherited from AbstractResource | |
| $serializer | |
| $_logger | |
Billing agreement resource model
Definition at line 11 of file Agreement.php.
|
protected |
Resource initialization
Definition at line 18 of file Agreement.php.
| addOrderRelation | ( | $agreementId, | |
| $orderId | |||
| ) |
Add order relation to billing agreement
| int | $agreementId | |
| int | $orderId |
Definition at line 30 of file Agreement.php.
| addOrdersFilter | ( | \Magento\Framework\Data\Collection\AbstractDb | $orderCollection, |
| $agreementIds | |||
| ) |
Add billing agreement filter on orders collection
| \Magento\Framework\Data\Collection\AbstractDb | $orderCollection | |
| string | int | array | $agreementIds |
Definition at line 46 of file Agreement.php.