public abstract class GeneratedPaymentManager extends Extension
PaymentManager.Extension.RestrictedLanguagesProvider, Extension.RightsProviderManager.GenericManagerSingletonCreator, Manager.ManagerSingletonCreator| Modifier and Type | Field and Description |
|---|---|
protected static Map<String,Map<String,Item.AttributeMode>> |
DEFAULT_INITIAL_ATTRIBUTES |
protected static OneToManyHandler<PaymentTransaction> |
ORDER2PAYMENTTRANSACTIONPAYMENTTRANSACTIONSHANDLER
OneToManyHandler for handling 1:n PAYMENTTRANSACTIONS's relation attributes from 'many' side. |
| Constructor and Description |
|---|
GeneratedPaymentManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
addToPaymentTransactions(AbstractOrder item,
PaymentTransaction value)
Generated method - Adds
value to paymentTransactions. |
void |
addToPaymentTransactions(SessionContext ctx,
AbstractOrder item,
PaymentTransaction value)
Generated method - Adds
value to paymentTransactions. |
PaymentTransaction |
createPaymentTransaction(Map attributeValues) |
PaymentTransaction |
createPaymentTransaction(SessionContext ctx,
Map attributeValues) |
PaymentTransactionEntry |
createPaymentTransactionEntry(Map attributeValues) |
PaymentTransactionEntry |
createPaymentTransactionEntry(SessionContext ctx,
Map attributeValues) |
Address |
getBillingAddress(PaymentInfo item)
Generated method - Getter of the
PaymentInfo.billingAddress attribute. |
Address |
getBillingAddress(SessionContext ctx,
PaymentInfo item)
Generated method - Getter of the
PaymentInfo.billingAddress attribute. |
Map<String,Item.AttributeMode> |
getDefaultAttributeModes(Class<? extends Item> itemClass) |
String |
getName() |
List<PaymentTransaction> |
getPaymentTransactions(AbstractOrder item)
Generated method - Getter of the
AbstractOrder.paymentTransactions attribute. |
List<PaymentTransaction> |
getPaymentTransactions(SessionContext ctx,
AbstractOrder item)
Generated method - Getter of the
AbstractOrder.paymentTransactions attribute. |
String |
getSubscriptionId(PaymentInfo item)
Generated method - Getter of the
CreditCardPaymentInfo.subscriptionId attribute. |
String |
getSubscriptionId(SessionContext ctx,
PaymentInfo item)
Generated method - Getter of the
CreditCardPaymentInfo.subscriptionId attribute. |
void |
removeFromPaymentTransactions(AbstractOrder item,
PaymentTransaction value)
Generated method - Removes
value from paymentTransactions. |
void |
removeFromPaymentTransactions(SessionContext ctx,
AbstractOrder item,
PaymentTransaction value)
Generated method - Removes
value from paymentTransactions. |
void |
setBillingAddress(PaymentInfo item,
Address value)
Generated method - Setter of the
PaymentInfo.billingAddress attribute. |
void |
setBillingAddress(SessionContext ctx,
PaymentInfo item,
Address value)
Generated method - Setter of the
PaymentInfo.billingAddress attribute. |
void |
setPaymentTransactions(AbstractOrder item,
List<PaymentTransaction> value)
Generated method - Setter of the
AbstractOrder.paymentTransactions attribute. |
void |
setPaymentTransactions(SessionContext ctx,
AbstractOrder item,
List<PaymentTransaction> value)
Generated method - Setter of the
AbstractOrder.paymentTransactions attribute. |
void |
setSubscriptionId(PaymentInfo item,
String value)
Generated method - Setter of the
CreditCardPaymentInfo.subscriptionId attribute. |
void |
setSubscriptionId(SessionContext ctx,
PaymentInfo item,
String value)
Generated method - Setter of the
CreditCardPaymentInfo.subscriptionId attribute. |
checkBeforeItemRemoval, createEssentialData, createProjectData, createSampleData, getCreatorDescription, getCreatorName, getCreatorParameterDefault, getCreatorParameterNames, getCreatorParameterPossibleValues, getRemote, isCreatorDisabled, notifyInitializationEnd, notifyInitializationStart, notifyItemRemoval, onFirstSessionCreation, writeReplaceafterItemCreation, beforeItemCreation, destroy, getAllValuesSessionContext, getAttribute, getAttributeMap, getFirstItemByAttribute, getFirstItemByAttribute, getRemoteManagerClass, getSession, getSingletonManagerInstance, getTenant, getTransientObject, getTransientObjectMap, init, setAttribute, setTenant, setTransientObject, unwrap, unwrap, wrapprotected static final OneToManyHandler<PaymentTransaction> ORDER2PAYMENTTRANSACTIONPAYMENTTRANSACTIONSHANDLER
OneToManyHandler for handling 1:n PAYMENTTRANSACTIONS's relation attributes from 'many' side.protected static final Map<String,Map<String,Item.AttributeMode>> DEFAULT_INITIAL_ATTRIBUTES
public Map<String,Item.AttributeMode> getDefaultAttributeModes(Class<? extends Item> itemClass)
getDefaultAttributeModes in class Extensionpublic Address getBillingAddress(SessionContext ctx, PaymentInfo item)
PaymentInfo.billingAddress attribute.public Address getBillingAddress(PaymentInfo item)
PaymentInfo.billingAddress attribute.public void setBillingAddress(SessionContext ctx, PaymentInfo item, Address value)
PaymentInfo.billingAddress attribute.value - the billingAddresspublic void setBillingAddress(PaymentInfo item, Address value)
PaymentInfo.billingAddress attribute.value - the billingAddresspublic PaymentTransaction createPaymentTransaction(SessionContext ctx, Map attributeValues)
public PaymentTransaction createPaymentTransaction(Map attributeValues)
public PaymentTransactionEntry createPaymentTransactionEntry(SessionContext ctx, Map attributeValues)
public PaymentTransactionEntry createPaymentTransactionEntry(Map attributeValues)
public List<PaymentTransaction> getPaymentTransactions(SessionContext ctx, AbstractOrder item)
AbstractOrder.paymentTransactions attribute.public List<PaymentTransaction> getPaymentTransactions(AbstractOrder item)
AbstractOrder.paymentTransactions attribute.public void setPaymentTransactions(SessionContext ctx, AbstractOrder item, List<PaymentTransaction> value)
AbstractOrder.paymentTransactions attribute.value - the paymentTransactionspublic void setPaymentTransactions(AbstractOrder item, List<PaymentTransaction> value)
AbstractOrder.paymentTransactions attribute.value - the paymentTransactionspublic void addToPaymentTransactions(SessionContext ctx, AbstractOrder item, PaymentTransaction value)
value to paymentTransactions.value - the item to add to paymentTransactionspublic void addToPaymentTransactions(AbstractOrder item, PaymentTransaction value)
value to paymentTransactions.value - the item to add to paymentTransactionspublic void removeFromPaymentTransactions(SessionContext ctx, AbstractOrder item, PaymentTransaction value)
value from paymentTransactions.value - the item to remove from paymentTransactionspublic void removeFromPaymentTransactions(AbstractOrder item, PaymentTransaction value)
value from paymentTransactions.value - the item to remove from paymentTransactionspublic String getSubscriptionId(SessionContext ctx, PaymentInfo item)
CreditCardPaymentInfo.subscriptionId attribute.public String getSubscriptionId(PaymentInfo item)
CreditCardPaymentInfo.subscriptionId attribute.public void setSubscriptionId(SessionContext ctx, PaymentInfo item, String value)
CreditCardPaymentInfo.subscriptionId attribute.value - the subscriptionId - Subscription ID is the reference information for the credit cart data stored in the external payment provider.public void setSubscriptionId(PaymentInfo item, String value)
CreditCardPaymentInfo.subscriptionId attribute.value - the subscriptionId - Subscription ID is the reference information for the credit cart data stored in the external payment provider.Copyright © 2017 SAP SE. All Rights Reserved.