Class AddressUpdateProperties


  • public final class AddressUpdateProperties
    extends Object
    Address Properties.
    • Constructor Detail

      • AddressUpdateProperties

        public AddressUpdateProperties()
    • Method Detail

      • shippingAddress

        public ShippingAddress shippingAddress()
        Get the shippingAddress property: Shipping details for the address.
        Returns:
        the shippingAddress value.
      • withShippingAddress

        public AddressUpdateProperties withShippingAddress​(ShippingAddress shippingAddress)
        Set the shippingAddress property: Shipping details for the address.
        Parameters:
        shippingAddress - the shippingAddress value to set.
        Returns:
        the AddressUpdateProperties object itself.
      • contactDetails

        public ContactDetails contactDetails()
        Get the contactDetails property: Contact details for the address.
        Returns:
        the contactDetails value.
      • withContactDetails

        public AddressUpdateProperties withContactDetails​(ContactDetails contactDetails)
        Set the contactDetails property: Contact details for the address.
        Parameters:
        contactDetails - the contactDetails value to set.
        Returns:
        the AddressUpdateProperties object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.