Class Shipping
- java.lang.Object
-
- com.checkout.handlepaymentsandpayouts.flow.paymentsessions.requests.Shipping
-
public final class Shipping extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classShipping.ShippingBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Shipping.ShippingBuilderbuilder()booleanequals(java.lang.Object o)AddressgetAddress()The shipping addressPhonegetPhone()The phone number associated with the shipping addressinthashCode()voidsetAddress(Address address)The shipping addressvoidsetPhone(Phone phone)The phone number associated with the shipping addressjava.lang.StringtoString()
-
-
-
Method Detail
-
builder
public static Shipping.ShippingBuilder builder()
-
getAddress
public Address getAddress()
The shipping address
-
getPhone
public Phone getPhone()
The phone number associated with the shipping address
-
setAddress
public void setAddress(Address address)
The shipping address
-
setPhone
public void setPhone(Phone phone)
The phone number associated with the shipping address
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-