Class PaymentMethodServices
java.lang.Object
org.apache.ofbiz.accounting.payment.PaymentMethodServices
Services for Payment maintenance
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclearCreditCardData
(DispatchContext dctx, Map<String, ? extends Object> context) createCheckAccount
(DispatchContext ctx, Map<String, ? extends Object> context) createCreditCard
(DispatchContext ctx, Map<String, Object> context) Creates CreditCard and PaymentMethod entities according to the parameters passed in the context security check: userLogin partyId must equal partyId, or must have PAY_INFO_CREATE permissioncreateEftAccount
(DispatchContext ctx, Map<String, ? extends Object> context) Creates EftAccount and PaymentMethod entities according to the parameters passed in the context security check: userLogin partyId must equal partyId, or must have PAY_INFO_CREATE permissioncreateGiftCard
(DispatchContext ctx, Map<String, ? extends Object> context) deletePaymentMethod
(DispatchContext ctx, Map<String, ? extends Object> context) Deletes a PaymentMethod entity according to the parameters passed in the context security check: userLogin partyId must equal paymentMethod partyId, or must have PAY_INFO_DELETE permissionmakeExpireDate
(DispatchContext ctx, Map<String, ? extends Object> context) updateCheckAccount
(DispatchContext ctx, Map<String, ? extends Object> context) updateCreditCard
(DispatchContext ctx, Map<String, Object> context) Updates CreditCard and PaymentMethod entities according to the parameters passed in the context security check: userLogin partyId must equal partyId, or must have PAY_INFO_UPDATE permissionupdateEftAccount
(DispatchContext ctx, Map<String, ? extends Object> context) Updates EftAccount and PaymentMethod entities according to the parameters passed in the context security check: userLogin partyId must equal partyId, or must have PAY_INFO_UPDATE permissionupdateGiftCard
(DispatchContext ctx, Map<String, Object> context)
-
Constructor Details
-
PaymentMethodServices
public PaymentMethodServices()
-
-
Method Details
-
deletePaymentMethod
public static Map<String,Object> deletePaymentMethod(DispatchContext ctx, Map<String, ? extends Object> context) Deletes a PaymentMethod entity according to the parameters passed in the context security check: userLogin partyId must equal paymentMethod partyId, or must have PAY_INFO_DELETE permission- Parameters:
ctx
- The DispatchContext that this service is operating incontext
- Map containing the input parameters- Returns:
- Map with the result of the service, the output parameters
-
makeExpireDate
-
createCreditCard
Creates CreditCard and PaymentMethod entities according to the parameters passed in the context security check: userLogin partyId must equal partyId, or must have PAY_INFO_CREATE permission- Parameters:
ctx
- The DispatchContext that this service is operating incontext
- Map containing the input parameters- Returns:
- Map with the result of the service, the output parameters
-
updateCreditCard
Updates CreditCard and PaymentMethod entities according to the parameters passed in the context security check: userLogin partyId must equal partyId, or must have PAY_INFO_UPDATE permission- Parameters:
ctx
- The DispatchContext that this service is operating incontext
- Map containing the input parameters- Returns:
- Map with the result of the service, the output parameters
-
clearCreditCardData
-
createGiftCard
-
updateGiftCard
-
createEftAccount
public static Map<String,Object> createEftAccount(DispatchContext ctx, Map<String, ? extends Object> context) Creates EftAccount and PaymentMethod entities according to the parameters passed in the context security check: userLogin partyId must equal partyId, or must have PAY_INFO_CREATE permission- Parameters:
ctx
- The DispatchContext that this service is operating incontext
- Map containing the input parameters- Returns:
- Map with the result of the service, the output parameters
-
updateEftAccount
public static Map<String,Object> updateEftAccount(DispatchContext ctx, Map<String, ? extends Object> context) Updates EftAccount and PaymentMethod entities according to the parameters passed in the context security check: userLogin partyId must equal partyId, or must have PAY_INFO_UPDATE permission- Parameters:
ctx
- The DispatchContext that this service is operating incontext
- Map containing the input parameters- Returns:
- Map with the result of the service, the output parameters
-
createCheckAccount
-
updateCheckAccount
-