com.ibm.commerce.rest.member.handler

Class PersonCheckoutProfileHandler

    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM Copyright notice field.
        See Also:
        Constant Field Values
      • RESOURCE_NAME

        public static final java.lang.String RESOURCE_NAME
        Resource name for checkout profile.
        See Also:
        Constant Field Values
      • RESOURCE_MAPPING_KEY

        public static final java.lang.String RESOURCE_MAPPING_KEY
        The Constant RESOURCE_MAPPING_KEY.
        See Also:
        Constant Field Values
      • FORMAT_GROUP_NAME

        public static final java.lang.String FORMAT_GROUP_NAME
        The constant FORMAT_GROUP_NAME.
        See Also:
        Constant Field Values
    • Constructor Detail

      • PersonCheckoutProfileHandler

        public PersonCheckoutProfileHandler()
    • Method Detail

      • getResourceName

        public java.lang.String getResourceName()
        Description copied from interface: IResourceHandler
        This method returns the name of the resource used primarily to determine the representation of the resource. This class can be overridden to change the name of the resource and therefore the representation, while keeping all the methods in this class.
        Returns:
        the resource name
      • getHelper

        public PersonHelper getHelper()
        This method returns the BOD helper used to get product data.
        Returns:
        PersonHelper
      • getCheckoutProfile

        @GET
         @Produces(value={"application/json","application/xml","application/xhtml+xml","application/atom+xml"})
        public javax.ws.rs.core.Response getCheckoutProfile(@PathParam(value="storeId")
                                                                                                                                                                         java.lang.String storeId,
                                                                                                                                                                         @QueryParam(value="responseFormat")
                                                                                                                                                                         java.lang.String responseFormat)
        This method retrieves the CheckOutProfile for the logged in user using Member service. The shopper must log in before invoking this method.
        Parameters:
        storeId - the store id
        responseFormat - the response format (xml or json)
        Returns:
        Response
      • updateCheckoutProfile

        @PUT
         @Produces(value={"application/json","application/xml","application/xhtml+xml","application/atom+xml"})
        public javax.ws.rs.core.Response updateCheckoutProfile(@PathParam(value="storeId")
                                                                                                                                                                            java.lang.String storeId,
                                                                                                                                                                            @QueryParam(value="responseFormat")
                                                                                                                                                                            java.lang.String responseFormat)
        Update checkoutProfile data for a registered shopper. The shopper must log in before invoking this method.
        Parameters:
        storeId - the store Id
        responseFormat - (xml or json)
        Returns:
        Response