Package | Description |
---|---|
io.sphere.sdk.carts |
Provides model classes and builders for carts.
|
io.sphere.sdk.carts.commands.updateactions |
Provides the possible operations which can be performed on update commands for carts.
|
io.sphere.sdk.channels |
Provides model classes and builders for channels.
|
io.sphere.sdk.channels.commands.updateactions |
Provides the possible operations which can be performed on update commands for channels.
|
io.sphere.sdk.customers |
Provides model classes and builders for customers.
|
io.sphere.sdk.customers.commands.updateactions |
Provides the possible operations which can be performed on update commands for customers.
|
io.sphere.sdk.customers.messages | |
io.sphere.sdk.models |
Provides the common API types of Composable Commerce.
|
io.sphere.sdk.orderedits.commands.stagedactions | |
io.sphere.sdk.orders |
Provides model classes and builders for orders.
|
io.sphere.sdk.orders.commands.updateactions |
Provides the possible operations which can be performed on update commands for orders.
|
io.sphere.sdk.orders.messages |
Provides model classes and builders for orders.
|
Modifier and Type | Method and Description |
---|---|
Address |
Cart.getBillingAddress() |
Address |
CartDraft.getBillingAddress() |
Address |
CartLike.getBillingAddress()
Address for the bill.
|
Address |
Cart.getShippingAddress() |
Address |
CartDraft.getShippingAddress() |
Address |
CartLike.getShippingAddress()
Address to ship the goods.
|
Modifier and Type | Method and Description |
---|---|
List<Address> |
Cart.getItemShippingAddresses() |
List<Address> |
CartDraft.getItemShippingAddresses()
Contains addresses for carts with multiple shipping addresses.
|
List<Address> |
CartLike.getItemShippingAddresses() |
Modifier and Type | Method and Description |
---|---|
Address |
SetBillingAddress.getAddress() |
Address |
SetShippingAddress.getAddress() |
Address |
UpdateItemShippingAddress.getAddress() |
Address |
AddItemShippingAddress.getAddress() |
Modifier and Type | Method and Description |
---|---|
static SetBillingAddress |
SetBillingAddress.of(Address address) |
static SetShippingAddress |
SetShippingAddress.of(Address address) |
static UpdateItemShippingAddress |
UpdateItemShippingAddress.of(Address address)
Creates a new object initialized with the given values.
|
static AddItemShippingAddress |
AddItemShippingAddress.of(Address address)
Creates a new object initialized with the given values.
|
Modifier and Type | Method and Description |
---|---|
Address |
ChannelDraft.getAddress() |
Address |
Channel.getAddress()
The address of a channel.
|
Address |
ChannelDraftBuilder.getAddress() |
Modifier and Type | Method and Description |
---|---|
ChannelDraftBuilder |
ChannelDraftBuilder.address(Address address)
Sets the
address property of this builder. |
Modifier and Type | Method and Description |
---|---|
Address |
SetAddress.getAddress() |
Modifier and Type | Method and Description |
---|---|
static SetAddress |
SetAddress.of(Address address) |
Modifier and Type | Method and Description |
---|---|
default Address |
Customer.getAddressById(String addressId)
Find the address in
Customer.getAddresses() by the address id |
default Address |
Customer.getDefaultBillingAddress() |
default Address |
Customer.getDefaultShippingAddress() |
Modifier and Type | Method and Description |
---|---|
default Optional<Address> |
Customer.findAddressById(String addressId) |
default Optional<Address> |
Customer.findDefaultBillingAddress() |
default Optional<Address> |
Customer.findDefaultShippingAddress() |
List<Address> |
CustomerDraft.getAddresses() |
List<Address> |
Customer.getAddresses()
Addresses related to this customer.
|
default List<Address> |
Customer.getBillingAddresses() |
default List<Address> |
Customer.getShippingAddresses() |
Modifier and Type | Method and Description |
---|---|
Address |
ChangeAddress.getAddress() |
Address |
AddAddress.getAddress() |
Modifier and Type | Method and Description |
---|---|
static RemoveAddress |
RemoveAddress.of(Address address) |
static AddAddress |
AddAddress.of(Address address) |
static ChangeAddress |
ChangeAddress.of(Address address,
String addressKey) |
static ChangeAddress |
ChangeAddress.of(String addressId,
Address address) |
static SetDefaultShippingAddress |
SetDefaultShippingAddress.ofAddress(Address address) |
static SetDefaultBillingAddress |
SetDefaultBillingAddress.ofAddress(Address address) |
static ChangeAddress |
ChangeAddress.ofOldAddressToNewAddress(Address oldAddress,
Address newAddress) |
Modifier and Type | Method and Description |
---|---|
Address |
CustomerAddressChangedMessage.getAddress() |
Address |
CustomerAddressAddedMessage.getAddress() |
Address |
CustomerAddressRemovedMessage.getAddress() |
Modifier and Type | Method and Description |
---|---|
Address |
AddressBuilder.build() |
static Address |
Address.of(com.neovisionaries.i18n.CountryCode country) |
Address |
Address.withAdditionalAddressInfo(String additionalAddressInfo) |
Address |
Address.withAdditionalStreetInfo(String additionalStreetInfo) |
Address |
Address.withApartment(String apartment) |
Address |
Address.withBuilding(String building) |
Address |
Address.withCity(String city) |
Address |
Address.withCompany(String company) |
Address |
Address.withCountry(com.neovisionaries.i18n.CountryCode country) |
Address |
Address.withCustomFields(CustomFields customFields) |
Address |
Address.withCustomFields(CustomFieldsDraft customFields) |
Address |
Address.withDepartment(String department) |
Address |
Address.withEmail(String email) |
Address |
Address.withExternalId(String externalId) |
Address |
Address.withFax(String fax) |
Address |
Address.withFirstName(String firstName) |
Address |
Address.withId(String id) |
Address |
Address.withKey(String key) |
Address |
Address.withLastName(String lastName) |
Address |
Address.withMobile(String mobile) |
Address |
Address.withPhone(String phone) |
Address |
Address.withPoBox(String poBox) |
Address |
Address.withPostalCode(String postalCode) |
Address |
Address.withRegion(String region) |
Address |
Address.withSalutation(String salutation) |
Address |
Address.withState(String state) |
Address |
Address.withStreetName(String streetName) |
Address |
Address.withStreetNumber(String streetNumber) |
Address |
Address.withTitle(String title) |
Modifier and Type | Method and Description |
---|---|
boolean |
Address.equalsIgnoreId(Address address) |
static AddressBuilder |
AddressBuilder.of(Address address) |
Modifier and Type | Method and Description |
---|---|
Address |
SetBillingAddress.getAddress() |
Address |
SetShippingAddressAndShippingMethod.getAddress() |
Address |
UpdateItemShippingAddress.getAddress() |
Address |
SetShippingAddressAndCustomShippingMethod.getAddress() |
Address |
AddItemShippingAddress.getAddress() |
Address |
SetShippingAddress.getAddress() |
Modifier and Type | Method and Description |
---|---|
static SetBillingAddress |
SetBillingAddress.of(Address address) |
static SetShippingAddressAndShippingMethod |
SetShippingAddressAndShippingMethod.of(Address address) |
static UpdateItemShippingAddress |
UpdateItemShippingAddress.of(Address address) |
static AddItemShippingAddress |
AddItemShippingAddress.of(Address address) |
static SetShippingAddress |
SetShippingAddress.of(Address address) |
static SetShippingAddressAndShippingMethod |
SetShippingAddressAndShippingMethod.of(Address address,
ResourceIdentifier<ShippingMethod> shippingMethod,
ExternalTaxRateDraft externalTaxRate) |
static SetShippingAddressAndCustomShippingMethod |
SetShippingAddressAndCustomShippingMethod.of(Address address,
String shippingMethodName,
ShippingRate shippingRate) |
static SetShippingAddressAndCustomShippingMethod |
SetShippingAddressAndCustomShippingMethod.of(Address address,
String shippingMethodName,
ShippingRate shippingRate,
ResourceIdentifier<TaxCategory> taxCategory,
ExternalTaxRateDraft externalTaxRate) |
Modifier and Type | Method and Description |
---|---|
Address |
Delivery.getAddress() |
Address |
OrderImportDraft.getBillingAddress() |
Address |
Order.getBillingAddress()
The billing address.
|
Address |
OrderImportDraft.getShippingAddress() |
Address |
Order.getShippingAddress()
The shipping address.
|
Modifier and Type | Method and Description |
---|---|
List<Address> |
OrderImportDraft.getItemShippingAddresses() |
List<Address> |
Order.getItemShippingAddresses() |
Modifier and Type | Method and Description |
---|---|
OrderImportDraftBuilder |
OrderImportDraftBuilder.billingAddress(Address billingAddress) |
OrderImportDraftBuilder |
OrderImportDraftBuilder.shippingAddress(Address shippingAddress) |
Modifier and Type | Method and Description |
---|---|
OrderImportDraftBuilder |
OrderImportDraftBuilder.itemShippingAddresses(List<Address> itemShippingAddresses) |
Modifier and Type | Method and Description |
---|---|
Address |
SetBillingAddress.getAddress() |
Address |
SetDeliveryAddress.getAddress() |
Address |
AddDelivery.getAddress() |
Address |
SetShippingAddress.getAddress() |
Address |
UpdateItemShippingAddress.getAddress() |
Address |
AddItemShippingAddress.getAddress() |
Modifier and Type | Method and Description |
---|---|
static SetBillingAddress |
SetBillingAddress.of(Address address) |
static SetShippingAddress |
SetShippingAddress.of(Address address) |
static UpdateItemShippingAddress |
UpdateItemShippingAddress.of(Address address)
Creates a new object initialized with the given values.
|
static AddItemShippingAddress |
AddItemShippingAddress.of(Address address)
Creates a new object initialized with the given values.
|
static SetDeliveryAddress |
SetDeliveryAddress.of(String deliveryId,
Address address) |
AddDelivery |
AddDelivery.withAddress(Address address) |
Modifier and Type | Method and Description |
---|---|
Address |
DeliveryAddressSetMessage.getAddress() |
Address |
OrderBillingAddressSetMessage.getAddress() |
Address |
OrderShippingAddressSetMessage.getAddress() |