com.beasys.commerce.ebusiness.shipping.pipeline
Class AddShippingAddressPC
java.lang.Object
|
+--com.beasys.commerce.foundation.pipeline.CommercePipelineComponent
|
+--com.beasys.commerce.ebusiness.customer.pipeline.UpdateUserPC
|
+--com.beasys.commerce.ebusiness.shipping.pipeline.AddShippingAddressPC
- All Implemented Interfaces:
- PipelineComponent
- public class AddShippingAddressPC
- extends UpdateUserPC
Updates the customer profile by adding the new shipping address.
|
Method Summary |
void |
updateCustomer(PipelineSession pipelineSession,
com.beasys.commerce.ebusiness.shipping.pipeline.Customer customer,
CustomerValue customerValue)
Updates customer's list of shipping address by adding the new shipping address. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AddShippingAddressPC
public AddShippingAddressPC()
updateCustomer
public void updateCustomer(PipelineSession pipelineSession,
com.beasys.commerce.ebusiness.shipping.pipeline.Customer customer,
CustomerValue customerValue)
throws PipelineFatalException
- Updates customer's list of shipping address by adding the new shipping address.
This method is called by the UpdateUserPC's process method.
- Parameters:
pipelineSession - the PipelineSession.customer - Customer object for current user.customerValue - CusotmerValue object for current user.- Throws:
PipelineFatalException - if the shipping address is missing
in the PipelineSession.