Package com.stripe.model
Class ShippingDetails
- java.lang.Object
-
- com.stripe.model.StripeObject
-
- com.stripe.model.ShippingDetails
-
- All Implemented Interfaces:
StripeObjectInterface
public class ShippingDetails extends StripeObject
-
-
Field Summary
-
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
-
Constructor Summary
Constructors Constructor Description ShippingDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)AddressgetAddress()java.lang.StringgetCarrier()The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc.java.lang.StringgetName()Recipient name.java.lang.StringgetPhone()Recipient phone (including extension).java.lang.StringgetTrackingNumber()The tracking number for a physical product, obtained from the delivery service.inthashCode()voidsetAddress(Address address)voidsetCarrier(java.lang.String carrier)The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc.voidsetName(java.lang.String name)Recipient name.voidsetPhone(java.lang.String phone)Recipient phone (including extension).voidsetTrackingNumber(java.lang.String trackingNumber)The tracking number for a physical product, obtained from the delivery service.-
Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
-
-
-
Method Detail
-
getAddress
public Address getAddress()
-
getCarrier
public java.lang.String getCarrier()
The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc.
-
getName
public java.lang.String getName()
Recipient name.
-
getPhone
public java.lang.String getPhone()
Recipient phone (including extension).
-
getTrackingNumber
public java.lang.String getTrackingNumber()
The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas.
-
setAddress
public void setAddress(Address address)
-
setCarrier
public void setCarrier(java.lang.String carrier)
The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc.
-
setName
public void setName(java.lang.String name)
Recipient name.
-
setPhone
public void setPhone(java.lang.String phone)
Recipient phone (including extension).
-
setTrackingNumber
public void setTrackingNumber(java.lang.String trackingNumber)
The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-