Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
getPaymentMethods () | |
setPaymentMethods ($paymentMethods) | |
getTotals () | |
setTotals ($totals) | |
getExtensionAttributes () | |
setExtensionAttributes (\Magento\Checkout\Api\Data\PaymentDetailsExtensionInterface $extensionAttributes) | |
![]() | |
__construct (\Magento\Framework\Model\Context $context, \Magento\Framework\Registry $registry, ExtensionAttributesFactory $extensionFactory, AttributeValueFactory $customAttributeFactory, \Magento\Framework\Model\ResourceModel\AbstractResource $resource=null, \Magento\Framework\Data\Collection\AbstractDb $resourceCollection=null, array $data=[]) | |
getCustomAttributes () | |
getCustomAttribute ($attributeCode) | |
setCustomAttributes (array $attributes) | |
setCustomAttribute ($attributeCode, $attributeValue) | |
setData ($key, $value=null) | |
unsetData ($key=null) | |
getData ($key='', $index=null) | |
setId ($value) | |
__sleep () | |
__wakeup () | |
![]() | |
__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 () | |
![]() | |
__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) | |
@codeCoverageIgnoreStart
Definition at line 11 of file PaymentDetails.php.
getExtensionAttributes | ( | ) |
{Retrieve existing extension attributes object or create a new one.
Implements PaymentDetailsInterface.
Definition at line 51 of file PaymentDetails.php.
getPaymentMethods | ( | ) |
{#-
Implements PaymentDetailsInterface.
Definition at line 17 of file PaymentDetails.php.
getTotals | ( | ) |
{
Implements PaymentDetailsInterface.
Definition at line 33 of file PaymentDetails.php.
setExtensionAttributes | ( | \Magento\Checkout\Api\Data\PaymentDetailsExtensionInterface | $extensionAttributes | ) |
{Set an extension attributes object.
\Magento\Checkout\Api\Data\PaymentDetailsExtensionInterface | $extensionAttributes |
\Magento\Checkout\Api\Data\PaymentDetailsExtensionInterface | $extensionAttributes |
Implements PaymentDetailsInterface.
Definition at line 62 of file PaymentDetails.php.
setPaymentMethods | ( | $paymentMethods | ) |
{
Implements PaymentDetailsInterface.
Definition at line 25 of file PaymentDetails.php.
setTotals | ( | $totals | ) |
{
\Magento\Quote\Api\Data\TotalsInterface | $totals |
Implements PaymentDetailsInterface.
Definition at line 41 of file PaymentDetails.php.