atg.commerce.order.processor
Interface BillingAddrValidator

All Known Implementing Classes:
BillingAddrValidatorImpl

public interface BillingAddrValidator

Object that implement this interface know how to validate a billing address of type atg.core.util.Address or any of its subclasses.


Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Method Summary
 void validateBillingAddress(Address pAddr, java.lang.String pId, PipelineResult pResult, java.util.Locale pLocale)
          Verify that all required properties are present in a billing address.
 void validateBillingAddress(Address pAddr, java.lang.String pId, PipelineResult pResult, java.util.ResourceBundle pResources)
          Verify that all required properties are present in a billing address.
 

Field Detail

CLASS_VERSION

static final java.lang.String CLASS_VERSION
Class version string

See Also:
Constant Field Values
Method Detail

validateBillingAddress

void validateBillingAddress(Address pAddr,
                            java.lang.String pId,
                            PipelineResult pResult,
                            java.util.Locale pLocale)
Verify that all required properties are present in a billing address.

Parameters:
pAddr - The shipping address being examined.
pId - The id of the object that owns the shipping address, used in constructing error messages. For example, when validating the address in a shipping group, the caller might provide the shipping group id here.
pResult - A PipelineResult object in which to store error messages if any required values are missing from the address.
pLocale - The optional locale to use when looking up the resource bundle that contains error messages. If null, the default server locale will be used.

validateBillingAddress

void validateBillingAddress(Address pAddr,
                            java.lang.String pId,
                            PipelineResult pResult,
                            java.util.ResourceBundle pResources)
Verify that all required properties are present in a billing address.

Parameters:
pAddr - The shipping address being examined.
pId - The id of the object that owns the shipping address, used in constructing error messages. For example, when validating the address in a shipping group, the caller might provide the shipping group id here.
pResult - A PipelineResult object in which to store error messages if any required values are missing from the address.
pResources - The resource bundle from which to retrieve error messages.