Class AddressLine1Attribute

  • All Implemented Interfaces:
    DynamicAttributeHandler<java.lang.String,​AddressModel>

    public class AddressLine1Attribute
    extends AbstractDynamicAttributeHandler<java.lang.String,​AddressModel>
    Dynamic attribute handler for the Address.line1 attribute. The Address.line1 attribute is directly mapped into the Address.streetname attribute. Hybris payment extension maps the Address.streetname into BillingInfo.street1, and the Address.streetnumber into BillingInfo.street2. NOTE that in Germany the street name is written before the street number. In order to avoid confusion we use Address.line1 and Address.line2 instead, but we retain the same mapping as hybris.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String get​(AddressModel addressModel)
      Holds logic behind getter for dynamic attribute.
      void set​(AddressModel addressModel, java.lang.String value)
      Holds logic behind setter for dynamic attribute.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait