Class PaymentMethodServices
- java.lang.Object
-
- org.apache.ofbiz.accounting.payment.PaymentMethodServices
-
public class PaymentMethodServices extends java.lang.Object
Services for Payment maintenance
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
module
static java.lang.String
resource
static java.lang.String
resourceError
-
Constructor Summary
Constructors Constructor Description PaymentMethodServices()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.Map<java.lang.String,java.lang.Object>
clearCreditCardData(DispatchContext dctx, java.util.Map<java.lang.String,? extends java.lang.Object> context)
static java.util.Map<java.lang.String,java.lang.Object>
createCheckAccount(DispatchContext ctx, java.util.Map<java.lang.String,? extends java.lang.Object> context)
static java.util.Map<java.lang.String,java.lang.Object>
createCreditCard(DispatchContext ctx, java.util.Map<java.lang.String,java.lang.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 permissionstatic java.util.Map<java.lang.String,java.lang.Object>
createEftAccount(DispatchContext ctx, java.util.Map<java.lang.String,? extends java.lang.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 permissionstatic java.util.Map<java.lang.String,java.lang.Object>
createGiftCard(DispatchContext ctx, java.util.Map<java.lang.String,? extends java.lang.Object> context)
static java.util.Map<java.lang.String,java.lang.Object>
deletePaymentMethod(DispatchContext ctx, java.util.Map<java.lang.String,? extends java.lang.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 permissionstatic java.util.Map<java.lang.String,java.lang.Object>
makeExpireDate(DispatchContext ctx, java.util.Map<java.lang.String,? extends java.lang.Object> context)
static java.util.Map<java.lang.String,java.lang.Object>
updateCheckAccount(DispatchContext ctx, java.util.Map<java.lang.String,? extends java.lang.Object> context)
static java.util.Map<java.lang.String,java.lang.Object>
updateCreditCard(DispatchContext ctx, java.util.Map<java.lang.String,java.lang.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 permissionstatic java.util.Map<java.lang.String,java.lang.Object>
updateEftAccount(DispatchContext ctx, java.util.Map<java.lang.String,? extends java.lang.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 permissionstatic java.util.Map<java.lang.String,java.lang.Object>
updateGiftCard(DispatchContext ctx, java.util.Map<java.lang.String,java.lang.Object> context)
-
-
-
Field Detail
-
module
public static final java.lang.String module
-
resource
public static final java.lang.String resource
- See Also:
- Constant Field Values
-
resourceError
public static final java.lang.String resourceError
- See Also:
- Constant Field Values
-
-
Method Detail
-
deletePaymentMethod
public static java.util.Map<java.lang.String,java.lang.Object> deletePaymentMethod(DispatchContext ctx, java.util.Map<java.lang.String,? extends java.lang.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
public static java.util.Map<java.lang.String,java.lang.Object> makeExpireDate(DispatchContext ctx, java.util.Map<java.lang.String,? extends java.lang.Object> context)
-
createCreditCard
public static java.util.Map<java.lang.String,java.lang.Object> createCreditCard(DispatchContext ctx, java.util.Map<java.lang.String,java.lang.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 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
public static java.util.Map<java.lang.String,java.lang.Object> updateCreditCard(DispatchContext ctx, java.util.Map<java.lang.String,java.lang.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 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
public static java.util.Map<java.lang.String,java.lang.Object> clearCreditCardData(DispatchContext dctx, java.util.Map<java.lang.String,? extends java.lang.Object> context)
-
createGiftCard
public static java.util.Map<java.lang.String,java.lang.Object> createGiftCard(DispatchContext ctx, java.util.Map<java.lang.String,? extends java.lang.Object> context)
-
updateGiftCard
public static java.util.Map<java.lang.String,java.lang.Object> updateGiftCard(DispatchContext ctx, java.util.Map<java.lang.String,java.lang.Object> context)
-
createEftAccount
public static java.util.Map<java.lang.String,java.lang.Object> createEftAccount(DispatchContext ctx, java.util.Map<java.lang.String,? extends java.lang.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 java.util.Map<java.lang.String,java.lang.Object> updateEftAccount(DispatchContext ctx, java.util.Map<java.lang.String,? extends java.lang.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
public static java.util.Map<java.lang.String,java.lang.Object> createCheckAccount(DispatchContext ctx, java.util.Map<java.lang.String,? extends java.lang.Object> context)
-
updateCheckAccount
public static java.util.Map<java.lang.String,java.lang.Object> updateCheckAccount(DispatchContext ctx, java.util.Map<java.lang.String,? extends java.lang.Object> context)
-
-