public class CustomerAddress extends Object
| Modifier and Type | Field and Description |
|---|---|
protected CustomerPostalAddress |
address |
protected CustomerAddressType |
addressType |
protected OffsetDateTime |
createdOn |
protected Customer |
customer |
protected Boolean |
defaultAddress |
protected Long |
id |
protected Long |
linkedSpaceId |
protected Integer |
version |
| Constructor and Description |
|---|
CustomerAddress() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
CustomerPostalAddress |
getAddress()
The actual postal address.
|
CustomerAddressType |
getAddressType()
Whether the address is for billing or shipping or both.
|
OffsetDateTime |
getCreatedOn()
The date and time when the object was created.
|
Customer |
getCustomer()
The customer that the object belongs to.
|
Long |
getId()
A unique identifier for the object.
|
Long |
getLinkedSpaceId()
The ID of the space this object belongs to.
|
Integer |
getVersion()
The version is used for optimistic locking and incremented whenever the object is updated.
|
int |
hashCode() |
Boolean |
isDefaultAddress()
Whether this is the customer's default address.
|
String |
toString() |
protected CustomerPostalAddress address
protected CustomerAddressType addressType
protected OffsetDateTime createdOn
protected Customer customer
protected Boolean defaultAddress
protected Long id
protected Long linkedSpaceId
protected Integer version
public CustomerPostalAddress getAddress()
public CustomerAddressType getAddressType()
public OffsetDateTime getCreatedOn()
public Customer getCustomer()
public Boolean isDefaultAddress()
public Long getId()
public Long getLinkedSpaceId()
public Integer getVersion()
Copyright © 2024. All rights reserved.