\Bitrix\Sale\PaymentCollection class for payment collections.
Inheritance chain
\Bitrix\Sale\PaymentCollection > \Bitrix\Sale\Internals\CollectableEntity > \Bitrix\Sale\Internals\Entity
Class methods
Method | Description | Available from version |
createInnerPayment | Creates payment for internal account payment systems. |
|
createItem | Creates a payment. |
|
getInnerPayment | Searches the collection for a payment from internal account and returns it When such payment doesn't exist, returns false . |
|
getOrder | Returns order with associated collection. |
|
getPaidSum | Returns amount paid. |
|
getRegistryType | Returns register type for an object. |
|
getSum | Returns total for all payments. |
|
hasPaidPayment | Checks if order has payments that are paid. |
|
isExistsInnerPayment | Checks, if collection contains payment from internal account. |
|
isMarked | Checks, if there are payments marked as problematic. |
|
isPaid | Checks, if all payments, included into the order, are paid. |
|
load | Returns order with associated collection заказ, к которому привязана коллекция. |
|
loadForOrder | Returns array with payment objects for an order. |
|
setOrder | Associates order to a collection. |
|
Methods for parent class \Bitrix\Sale\Internals\CollectableEntity
Methods for parent class \Bitrix\Sale\Internals\Entity
Method | Description | Available from version |
doFinalAction | Abstract method, designed to implement "final" calculation logic. |
|
getAvailableFields | Returns array of fields to be set via methods setField() and setFields() . |
|
getAvailableFieldsMap | Returns array of fields to be set via the methods setField() and setFields() . getAvailableFields values are used as array keys. |
|
getField | Returns value for $name field. |
|
getFieldValues | Returns array of fields with values. |
|
getId | Returns entity ID. |
|
initField | Initializes field by a value. Object is not considered as updated. |
|
initFields | Initializes fields by values. Object is not considered as updated. |
|
isChanged | Checks, if entity was updated. If yes, returns true , otherwise returns false . |
|
isMathActionOnly | Checks, if current data is used for calculations (provider data is not requested). If yes, returns true , otherwise returns false . |
|
setField | Sets values for the field $name . |
|
setFields | Initializes fields by values. Object is not considered as updated. |
|
setMathActionOnly | Disables requests to provider when during calculations. |
|
verify | Checks, if object is correct. Returns object \Bitrix\Sale\Result . |
|