Log in
Interface

OrderAddressInterface

Magento\Sales\Api\Data\OrderAddressInterface

What it does

This interface defines the contract for order address data in Magento 2, representing both billing and shipping addresses associated with sales orders.

Developers use this interface when working with order addresses through the API, such as retrieving or setting address information like customer name, street, city, postal code, and VAT details.

It's essential for any custom module that needs to read or manipulate order address data in a standardized way.

Public Methods

  • getAddressType()
  • getCity()
  • getCompany()
  • getCountryId()
  • getCustomerAddressId()
  • getCustomerId()
  • getEmail()
  • getEntityId()
  • setEntityId()
  • getFax()
  • getFirstname()
  • getLastname()
  • getMiddlename()
  • getParentId()
  • getPostcode()
  • getPrefix()
  • getRegion()
  • getRegionCode()
  • getRegionId()
  • getStreet()
  • getSuffix()
  • getTelephone()
  • getVatId()
  • getVatIsValid()
  • getVatRequestDate()
  • getVatRequestId()
  • getVatRequestSuccess()
  • setParentId()
  • setCustomerAddressId()
  • setRegionId()
  • setCustomerId()
  • setFax()
  • setRegion()
  • setPostcode()
  • setLastname()
  • setStreet()
  • setCity()
  • setEmail()
  • setTelephone()
  • setCountryId()
  • setFirstname()
  • setAddressType()
  • setPrefix()
  • setMiddlename()
  • setSuffix()
  • setCompany()
  • setVatId()
  • setVatIsValid()
  • setVatRequestId()
  • setRegionCode()
  • setVatRequestDate()
  • setVatRequestSuccess()
  • getExtensionAttributes()
  • setExtensionAttributes()