Package com.stripe.model.issuing
Class Card.Shipping
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.issuing.Card.Shipping
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Card
For more details about Shipping, please refer to the API
Reference.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classFor more details about AddressValidation, please refer to the API Reference.static classFor more details about Customs, please refer to the API Reference. -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanAddress validation details for the shipment.The delivery company that shipped a card.Additional information that may be required for clearing customs.getEta()A unix timestamp representing a best estimate of when the card will be delivered.getName()Recipient name.The phone number of the receiver of the shipment.Whether a signature is required for card delivery.Shipment service, such asstandardorexpress.The delivery status of the card.A tracking number for a card shipment.A link to the shipping carrier's site where you can view detailed information about a card shipment.getType()Packaging options.inthashCode()voidsetAddress(Address address) voidsetAddressValidation(Card.Shipping.AddressValidation addressValidation) Address validation details for the shipment.voidsetCarrier(String carrier) The delivery company that shipped a card.voidsetCustoms(Card.Shipping.Customs customs) Additional information that may be required for clearing customs.voidA unix timestamp representing a best estimate of when the card will be delivered.voidRecipient name.voidsetPhoneNumber(String phoneNumber) The phone number of the receiver of the shipment.voidsetRequireSignature(Boolean requireSignature) Whether a signature is required for card delivery.voidsetService(String service) Shipment service, such asstandardorexpress.voidThe delivery status of the card.voidsetTrackingNumber(String trackingNumber) A tracking number for a card shipment.voidsetTrackingUrl(String trackingUrl) A link to the shipping carrier's site where you can view detailed information about a card shipment.voidPackaging options.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
Shipping
public Shipping()
-
-
Method Details
-
getAddress
-
getAddressValidation
Address validation details for the shipment. -
getCarrier
The delivery company that shipped a card.One of
dhl,fedex,royal_mail, orusps. -
getCustoms
Additional information that may be required for clearing customs. -
getEta
A unix timestamp representing a best estimate of when the card will be delivered. -
getName
Recipient name. -
getPhoneNumber
The phone number of the receiver of the shipment. Our courier partners will use this number to contact you in the event of card delivery issues. For individual shipments to the EU/UK, if this field is empty, we will provide them with the phone number provided when the cardholder was initially created. -
getRequireSignature
Whether a signature is required for card delivery. This feature is only supported for US users. Standard shipping service does not support signature on delivery. The default value for standard shipping service is false and for express and priority services is true. -
getService
Shipment service, such asstandardorexpress.One of
express,priority, orstandard. -
getStatus
The delivery status of the card.One of
canceled,delivered,failure,pending,returned,shipped, orsubmitted. -
getTrackingNumber
A tracking number for a card shipment. -
getTrackingUrl
A link to the shipping carrier's site where you can view detailed information about a card shipment. -
getType
Packaging options.One of
bulk, orindividual. -
setAddress
-
setAddressValidation
Address validation details for the shipment. -
setCarrier
The delivery company that shipped a card.One of
dhl,fedex,royal_mail, orusps. -
setCustoms
Additional information that may be required for clearing customs. -
setEta
A unix timestamp representing a best estimate of when the card will be delivered. -
setName
Recipient name. -
setPhoneNumber
The phone number of the receiver of the shipment. Our courier partners will use this number to contact you in the event of card delivery issues. For individual shipments to the EU/UK, if this field is empty, we will provide them with the phone number provided when the cardholder was initially created. -
setRequireSignature
Whether a signature is required for card delivery. This feature is only supported for US users. Standard shipping service does not support signature on delivery. The default value for standard shipping service is false and for express and priority services is true. -
setService
Shipment service, such asstandardorexpress.One of
express,priority, orstandard. -
setStatus
The delivery status of the card.One of
canceled,delivered,failure,pending,returned,shipped, orsubmitted. -
setTrackingNumber
A tracking number for a card shipment. -
setTrackingUrl
A link to the shipping carrier's site where you can view detailed information about a card shipment. -
setType
Packaging options.One of
bulk, orindividual. -
equals
-
canEqual
-
hashCode
public int hashCode()
-