Class 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  
    • 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 permission
      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
      static 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 permission
      static 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 permission
      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
      static java.util.Map<java.lang.String,​java.lang.Object> updateGiftCard​(DispatchContext ctx, java.util.Map<java.lang.String,​java.lang.Object> context)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • module

        public static final java.lang.String module
    • Constructor Detail

      • PaymentMethodServices

        public PaymentMethodServices()
    • 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 in
        context - 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 in
        context - 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 in
        context - 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 in
        context - 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 in
        context - 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)