-
- All Implemented Interfaces:
-
android.os.Parcelable
public class ShippingAddress implements Parcelable
The ShippingAddress holds the shipping details of ordered goods.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
ShippingAddress.Builder
-
Field Summary
Fields Modifier and Type Field Description private final String
street1
private final String
street2
private final String
city
private final String
state
private final String
country
private final String
postcode
private final Customer
customer
private final String
cost
private final String
phone
public final static Parcelable.Creator<ShippingAddress>
CREATOR
-
Constructor Summary
Constructors Constructor Description ShippingAddress(ShippingAddress.Builder builder)
-
Method Summary
Modifier and Type Method Description String
getStreet1()
The door number, floor, building number, building name, and/or street name of the shipping address String
getStreet2()
The adjoining road or locality (if required) of the shipping address. String
getCity()
The town, district or city of the shipping address. String
getState()
The county, state or region of the shipping address. String
getCountry()
The country of the shipping address String
getPostcode()
The postal code or zip code of the shipping address. Customer
getCustomer()
The Customer. String
getCost()
The total amount of the shipping costs. String
getPhone()
The phone number for shipping address int
describeContents()
void
writeToParcel(@NonNull() Parcel dest, int flags)
boolean
equals(Object o)
int
hashCode()
-
-
Constructor Detail
-
ShippingAddress
ShippingAddress(ShippingAddress.Builder builder)
-
-
Method Detail
-
getStreet1
@Nullable() String getStreet1()
The door number, floor, building number, building name, and/or street name of the shipping address
-
getStreet2
@Nullable() String getStreet2()
The adjoining road or locality (if required) of the shipping address.
-
getCountry
@Nullable() String getCountry()
The country of the shipping address
-
getPostcode
@Nullable() String getPostcode()
The postal code or zip code of the shipping address.
-
getCustomer
@Nullable() Customer getCustomer()
The Customer.
-
describeContents
int describeContents()
-
writeToParcel
void writeToParcel(@NonNull() Parcel dest, int flags)
-
hashCode
int hashCode()
-
-
-
-