|
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
| __construct (Context $context, Registry $registry, SerializerInterface $serializer, array $data=[], AbstractResource $resource=null, AbstractDb $resourceCollection=null) | |
| getEntityId () | |
| setEntityId ($id) | |
| getCaseId () | |
| setCaseId ($id) | |
| isGuaranteeEligible () | |
| setGuaranteeEligible ($guaranteeEligible) | |
| getGuaranteeDisposition () | |
| setGuaranteeDisposition ($disposition) | |
| getStatus () | |
| setStatus ($status) | |
| getScore () | |
| setScore ($score) | |
| getOrderId () | |
| setOrderId ($orderId) | |
| getAssociatedTeam () | |
| setAssociatedTeam (array $team) | |
| getReviewDisposition () | |
| setReviewDisposition ($disposition) | |
| getCreatedAt () | |
| setCreatedAt ($datetime) | |
| getUpdatedAt () | |
| setUpdatedAt ($datetime) | |
Public Member Functions inherited from AbstractModel | |
| __construct (\Magento\Framework\Model\Context $context, \Magento\Framework\Registry $registry, \Magento\Framework\Model\ResourceModel\AbstractResource $resource=null, \Magento\Framework\Data\Collection\AbstractDb $resourceCollection=null, array $data=[]) | |
| __sleep () | |
| __wakeup () | |
| setIdFieldName ($name) | |
| getIdFieldName () | |
| getId () | |
| setId ($value) | |
| isDeleted ($isDeleted=null) | |
| hasDataChanges () | |
| setData ($key, $value=null) | |
| unsetData ($key=null) | |
| setDataChanges ($value) | |
| getOrigData ($key=null) | |
| setOrigData ($key=null, $data=null) | |
| dataHasChangedFor ($field) | |
| getResourceName () | |
| getResourceCollection () | |
| getCollection () | |
| load ($modelId, $field=null) | |
| beforeLoad ($identifier, $field=null) | |
| afterLoad () | |
| isSaveAllowed () | |
| setHasDataChanges ($flag) | |
| save () | |
| afterCommitCallback () | |
| isObjectNew ($flag=null) | |
| beforeSave () | |
| validateBeforeSave () | |
| getCacheTags () | |
| cleanModelCache () | |
| afterSave () | |
| delete () | |
| beforeDelete () | |
| afterDelete () | |
| afterDeleteCommit () | |
| getResource () | |
| getEntityId () | |
| setEntityId ($entityId) | |
| clearInstance () | |
| getStoredData () | |
| getEventPrefix () | |
Public Member Functions inherited from DataObject | |
| __construct (array $data=[]) | |
| addData (array $arr) | |
| setData ($key, $value=null) | |
| unsetData ($key=null) | |
| getData ($key='', $index=null) | |
| getDataByPath ($path) | |
| getDataByKey ($key) | |
| setDataUsingMethod ($key, $args=[]) | |
| getDataUsingMethod ($key, $args=null) | |
| hasData ($key='') | |
| toArray (array $keys=[]) | |
| convertToArray (array $keys=[]) | |
| toXml (array $keys=[], $rootName='item', $addOpenTag=false, $addCdata=true) | |
| convertToXml (array $arrAttributes=[], $rootName='item', $addOpenTag=false, $addCdata=true) | |
| toJson (array $keys=[]) | |
| convertToJson (array $keys=[]) | |
| toString ($format='') | |
| __call ($method, $args) | |
| isEmpty () | |
| serialize ($keys=[], $valueSeparator='=', $fieldSeparator=' ', $quote='"') | |
| debug ($data=null, &$objects=[]) | |
| offsetSet ($offset, $value) | |
| offsetExists ($offset) | |
| offsetUnset ($offset) | |
| offsetGet ($offset) | |
Protected Member Functions | |
| _construct () | |
Protected Member Functions inherited from AbstractModel | |
| _construct () | |
| _init ($resourceModel) | |
| _setResourceModel ($resourceName, $collectionName=null) | |
| _getResource () | |
| _getEventData () | |
| _beforeLoad ($modelId, $field=null) | |
| _afterLoad () | |
| _hasModelChanged () | |
| _getValidatorBeforeSave () | |
| _createValidatorBeforeSave () | |
| _getValidationRulesBeforeSave () | |
| _clearReferences () | |
| _clearData () | |
Protected Member Functions inherited from DataObject | |
| _getData ($key) | |
| _underscore ($name) | |
Protected Attributes | |
| $_eventPrefix = 'signifyd_case' | |
Protected Attributes inherited from AbstractModel | |
| $_eventPrefix = 'core_abstract' | |
| $_eventObject = 'object' | |
| $_idFieldName = 'id' | |
| $_hasDataChanges = false | |
| $_origData | |
| $_isDeleted = false | |
| $_resource | |
| $_resourceCollection | |
| $_resourceName | |
| $_collectionName | |
| $_cacheTag = false | |
| $_dataSaveAllowed = true | |
| $_isObjectNew = null | |
| $_validatorBeforeSave = null | |
| $_eventManager | |
| $_cacheManager | |
| $_registry | |
| $_logger | |
| $_appState | |
| $_actionValidator | |
| $storedData = [] | |
Protected Attributes inherited from DataObject | |
| $_data = [] | |
Additional Inherited Members | |
Data Fields inherited from CaseInterface | |
| const | STATUS_OPEN = Gateway::STATUS_OPEN |
| const | STATUS_PENDING = 'PENDING' |
| const | STATUS_PROCESSING = Gateway::STATUS_PROCESSING |
| const | STATUS_FLAGGED = Gateway::STATUS_FLAGGED |
| const | STATUS_DISMISSED = Gateway::STATUS_DISMISSED |
| const | GUARANTEE_APPROVED = Gateway::GUARANTEE_APPROVED |
| const | GUARANTEE_DECLINED = Gateway::GUARANTEE_DECLINED |
| const | GUARANTEE_PENDING = Gateway::GUARANTEE_PENDING |
| const | GUARANTEE_CANCELED = Gateway::GUARANTEE_CANCELED |
| const | GUARANTEE_IN_REVIEW = Gateway::GUARANTEE_IN_REVIEW |
| const | GUARANTEE_UNREQUESTED = Gateway::GUARANTEE_UNREQUESTED |
| const | DISPOSITION_GOOD = Gateway::DISPOSITION_GOOD |
| const | DISPOSITION_FRAUDULENT = Gateway::DISPOSITION_FRAUDULENT |
| const | DISPOSITION_UNSET = Gateway::DISPOSITION_UNSET |
Static Protected Attributes inherited from DataObject | |
| static | $_underscoreCache = [] |
Implementation of Signifyd Case interface.
Definition at line 19 of file CaseEntity.php.
| __construct | ( | Context | $context, |
| Registry | $registry, | ||
| SerializerInterface | $serializer, | ||
| array | $data = [], |
||
| AbstractResource | $resource = null, |
||
| AbstractDb | $resourceCollection = null |
||
| ) |
CaseEntity constructor.
| Context | $context | |
| Registry | $registry | |
| SerializerInterface | $serializer | |
| array | $data | |
| AbstractResource | null | $resource | |
| AbstractDb | null | $resourceCollection |
Definition at line 41 of file CaseEntity.php.
|
protected |
Definition at line 56 of file CaseEntity.php.
| getAssociatedTeam | ( | ) |
Returns data about a team associated with a case.
Implements CaseInterface.
Definition at line 184 of file CaseEntity.php.
| getCaseId | ( | ) |
Returns Signifyd case identifier.
Implements CaseInterface.
Definition at line 81 of file CaseEntity.php.
| getCreatedAt | ( | ) |
Returns creation datetime for a case.
Implements CaseInterface.
Definition at line 219 of file CaseEntity.php.
| getEntityId | ( | ) |
#- Returns local case entity identifier.
Implements CaseInterface.
Definition at line 64 of file CaseEntity.php.
| getGuaranteeDisposition | ( | ) |
Returns decision state of the guarantee.
Implements CaseInterface.
Definition at line 116 of file CaseEntity.php.
| getOrderId | ( | ) |
Get order id for a case.
Implements CaseInterface.
Definition at line 167 of file CaseEntity.php.
| getReviewDisposition | ( | ) |
Returns disposition of an agent's opinion after reviewing the case.
Implements CaseInterface.
Definition at line 202 of file CaseEntity.php.
| getScore | ( | ) |
Returns value, which indicates the likelihood that the order is fraud.
Implements CaseInterface.
Definition at line 150 of file CaseEntity.php.
| getStatus | ( | ) |
Returns case status.
Implements CaseInterface.
Definition at line 133 of file CaseEntity.php.
| getUpdatedAt | ( | ) |
Returns updating datetime for a case.
Implements CaseInterface.
Definition at line 236 of file CaseEntity.php.
| isGuaranteeEligible | ( | ) |
Returns value, which indicates if a guarantee can be requested for a case. Returns null if state of guarantee eligible does not set yet.
Implements CaseInterface.
Definition at line 98 of file CaseEntity.php.
| setAssociatedTeam | ( | array | $team | ) |
Sets team data associated with a case.
| array | $team |
Implements CaseInterface.
Definition at line 193 of file CaseEntity.php.
| setCaseId | ( | $id | ) |
Sets Signifyd case id.
| int | $id |
Implements CaseInterface.
Definition at line 89 of file CaseEntity.php.
| setCreatedAt | ( | $datetime | ) |
Sets creation datetime for a case.
| string | $datetime | in DATE_ATOM format |
Implements CaseInterface.
Definition at line 227 of file CaseEntity.php.
| setEntityId | ( | $id | ) |
Sets local case entity id.
| int | $id |
Implements CaseInterface.
Definition at line 72 of file CaseEntity.php.
| setGuaranteeDisposition | ( | $disposition | ) |
Sets decision state of the guarantee.
| string | $disposition |
Implements CaseInterface.
Definition at line 124 of file CaseEntity.php.
| setGuaranteeEligible | ( | $guaranteeEligible | ) |
Sets value-indicator about guarantee availability for a case.
| bool | $guaranteeEligible |
Implements CaseInterface.
Definition at line 107 of file CaseEntity.php.
| setOrderId | ( | $orderId | ) |
Sets order id for a case.
| int | $orderId |
Implements CaseInterface.
Definition at line 175 of file CaseEntity.php.
| setReviewDisposition | ( | $disposition | ) |
Sets case disposition.
| string | $disposition |
Implements CaseInterface.
Definition at line 210 of file CaseEntity.php.
| setScore | ( | $score | ) |
Sets risk level value.
| int | $score |
Implements CaseInterface.
Definition at line 158 of file CaseEntity.php.
| setStatus | ( | $status | ) |
Sets case status.
| string | $status |
Implements CaseInterface.
Definition at line 141 of file CaseEntity.php.
| setUpdatedAt | ( | $datetime | ) |
Sets updating datetime for a case.
| string | $datetime | in DATE_ATOM format |
Implements CaseInterface.
Definition at line 244 of file CaseEntity.php.
|
protected |
Definition at line 24 of file CaseEntity.php.