public class StandardPaymentMode extends GeneratedStandardPaymentMode
GenericItem.GenericItemImplLocalizableItem.LocalizableItemImplExtensibleItem.ExtensibleItemImplItem.AttributeFilter, Item.AttributeMode, Item.CachedGetter, Item.CachedSetter, Item.ItemAttributeMap, Item.ItemConstraint, Item.ItemImpl, Item.JaloCachedComputationExceptionDEFAULT_INITIAL_ATTRIBUTES, NET, PAYMENTMODEVALUES, PAYMENTMODEVALUESHANDLERACTIVE, CODE, DESCRIPTION, NAME, PAYMENTINFOTYPE, SUPPORTEDDELIVERYMODESLANGUAGE_FALLBACK_ENABLED_CREATION_TIME_INTERNAL, _MODIFIED_TIME_INTERNAL, accessorLog, CREATION_TIME, DISABLE_ATTRIBUTE_CHECK, DISABLE_ITEMCHECK_BEFORE_REMOVABLE, EVEN, FEATURE_ACCESSMAP_QUALIFIER, INITIAL_CREATION_FLAG, isJaloOnly, MODIFIED_TIME, NEGATIVE, NOT_FOUND, OWNER, PK, POSITIVE, SAVE_FROM_SERVICE_LAYER, staticTransientObjects, TYPEimpl, tenant| Constructor and Description |
|---|
StandardPaymentMode() |
| Modifier and Type | Method and Description |
|---|---|
StandardPaymentModeValue |
addNewDeliveryModeValue(Currency currency,
double value)
Deprecated.
since the method name is plain wrong ;)
|
StandardPaymentModeValue |
addNewPaymentModeValue(Currency currency,
double value) |
protected StandardPaymentModeValue |
createPaymentModeValueInternal(Currency currency,
double value) |
PriceValue |
getCost(SessionContext ctx,
AbstractOrder order)
Deprecated.
use de.hybris.platform.order.PaymentModeService.getCost(StandardPaymentModeModel, AbstractOrderModel)
|
StandardPaymentModeValue |
getPaymentModeValue(Currency curr)
Deprecated.
use de.hybris.platform.order.PaymentModeService.getCost(StandardPaymentModeModel,CurrencyModel )
|
Map<Currency,Double> |
getValues()
Deprecated.
use de.hybris.platform.order.PaymentModeService.getValues(StandardPaymentModeModel)
|
boolean |
removeCost(Currency curr)
Deprecated.
use de.hybris.platform.order.PaymentModeService.removeCost(StandardPaymentModeModel, CurrencyModel)
|
void |
setCost(Currency curr,
double value)
Changes the payment cost for a given currency.
|
void |
setValues(Map<Currency,Double> values)
Deprecated.
use de.hybris.platform.order.PaymentModeService.setValues(StandardPaymentModeModel, Map
|
addToPaymentModeValues, addToPaymentModeValues, getDefaultAttributeModes, getPaymentModeValues, getPaymentModeValues, isNet, isNet, isNetAsPrimitive, isNetAsPrimitive, removeFromPaymentModeValues, removeFromPaymentModeValues, setNet, setNet, setNet, setNet, setPaymentModeValues, setPaymentModeValuesaddSupportedDeliveryMode, checkRemovable, createItem, getAllDescriptions, getAllNames, getCost, getSupportedDeliveryModes, isSupportedDeliveryMode, remove, removeSupportedDeliveryMode, setAllDescriptions, setAllNames, setCode, setCodegetAllDescription, getAllDescription, getAllName, getAllName, getCode, getCode, getDescription, getDescription, getName, getName, getPaymentInfoType, getPaymentInfoType, getSupportedDeliveryModes, isActive, isActive, isActiveAsPrimitive, isActiveAsPrimitive, setActive, setActive, setActive, setActive, setAllDescription, setAllDescription, setAllName, setAllName, setDescription, setDescription, setName, setName, setPaymentInfoType, setPaymentInfoTypegetInitialProperties, getNonInitialAttributesgetAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllValuesSessionContext, getLocalizedProperty, getLocalizedProperty, getLocalizedPropertyInternal, getLocalizedPropertyNames, getLocalizedPropertyNames, hasLanguage, isEmptyValue, isFallbackEnabled, removeLocalizedProperty, removeLocalizedProperty, setAllLocalizedProperties, setAllLocalizedProperties, setLocalizedProperty, setLocalizedPropertycreateNonClassAccessor, getAllProperties, getAllProperties, getProperty, getProperty, getPropertyNames, getPropertyNames, removeProperty, removeProperty, setAllProperties, setAllProperties, setProperty, setPropertyaddLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addNegativePermission, addPermission, addPositivePermission, assureExtensionsLoaded, changeTypeAfterCreation, checkConstraint, checkItemPermission, checkMandatoryAttribute, checkMandatoryAttribute, checkPermission, checkPermission, clearPermission, compareTo, ctx, doAfterRemove, doBeforeRemove, equals, getAccessorFor, getAllAttributes, getAllAttributes, getAllAttributes, getAllAttributes, getAllAttributesInternal, getAllLinkedItems, getAndCheckCacheBoundItem, getAttribute, getAttribute, getCacheBoundItem, getComposedType, getComposedTypePK, getCreationTime, getCurrentlyRemovingCount, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItemsCount, getLinkedItemsCount, getLinkedItemsCount, getModificationTime, getNegativePermissions, getOwner, getPermissionMap, getPermissions, getPersistenceVersion, getPK, getPositivePermissions, getRestrictedPrincipals, getSession, getSyncObject, getTenant, getTransientObject, getTransientObjectMap, hashCode, hasRegisteredClassAccessorFor, internal_registerClassAccessorFor, internal_registerNonClassAccessorFor, invalidateLocalCaches, isAlive, isCacheBound, isCurrentlyRemoving, isCurrentlyRemoving, isEmptyRelationValue, isInCreate, isInstanceOf, isItemCheckBeforeRemoveableDisabled, isRelationLocalizationFallbackEnabled, newInstance, notifyExtensionsAfterItemCreation, notifyExtensionsBeforeItemCreation, notifyItemRemoval, readResolve, refreshRemote, registerAccessFor, registerAccessFor, registerJaloInvalidationListeners, remove, removeItemCollection, removeItemCollection, removeLinkedItems, removeLinkedItems, removeLinkedItems, removeLinkedItems, removeLinks, removePartOfItems, removePartOfItems, setAllAttributes, setAllAttributes, setAllAttributesInternal, setAllLinkedItems, setAllLinkedItems, setAllLinkedItems, setAllLinkedItems, setAttribute, setAttribute, setAttributeFromString, setAttributeFromString, setCacheBound, setComposedType, setCreationTime, setImplementation, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setModificationTime, setNonInitialAttributes, setOwner, setPermissionsByMap, setTransientObject, setUseTA, toString, useTA, writeReplacegetImplementation, setTenantpublic void setCost(Currency curr, double value)
curr - value - @Deprecated public StandardPaymentModeValue getPaymentModeValue(Currency curr)
StandardPaymentModeValue instance for a given currency. If no such value exists
null is returned.@Deprecated public boolean removeCost(Currency curr)
@Deprecated public Map<Currency,Double> getValues()
@Deprecated public void setValues(Map<Currency,Double> values)
values - a map containing Currency - Double pairs.@Deprecated public PriceValue getCost(SessionContext ctx, AbstractOrder order) throws JaloPaymentModeException
PaymentModeThis default implementation always returns 0 costs. Each subtype may override this method to implement its own cost model.
getCost in class PaymentModectx - session contextorder - the order to calculate costs forJaloPaymentModeException@Deprecated public StandardPaymentModeValue addNewDeliveryModeValue(Currency currency, double value)
public StandardPaymentModeValue addNewPaymentModeValue(Currency currency, double value)
protected StandardPaymentModeValue createPaymentModeValueInternal(Currency currency, double value)
Copyright © 2017 SAP SE. All Rights Reserved.