Class Card.Shipping

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.issuing.Card.Shipping
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
Card

public static class Card.Shipping extends StripeObject
  • Constructor Details

    • Shipping

      public Shipping()
  • Method Details

    • getAddress

      public Address getAddress()
    • getAddressValidation

      public Card.Shipping.AddressValidation getAddressValidation()
      Address validation details for the shipment.
    • getCarrier

      public String getCarrier()
      The delivery company that shipped a card.

      One of dhl, fedex, royal_mail, or usps.

    • getCustoms

      public Card.Shipping.Customs getCustoms()
      Additional information that may be required for clearing customs.
    • getEta

      public Long getEta()
      A unix timestamp representing a best estimate of when the card will be delivered.
    • getName

      public String getName()
      Recipient name.
    • getPhoneNumber

      public String 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

      public Boolean 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

      public String getService()
      Shipment service, such as standard or express.

      One of express, priority, or standard.

    • getStatus

      public String getStatus()
      The delivery status of the card.

      One of canceled, delivered, failure, pending, returned, or shipped.

    • getTrackingNumber

      public String getTrackingNumber()
      A tracking number for a card shipment.
    • getTrackingUrl

      public String getTrackingUrl()
      A link to the shipping carrier's site where you can view detailed information about a card shipment.
    • getType

      public String getType()
      Packaging options.

      One of bulk, or individual.

    • setAddress

      public void setAddress(Address address)
    • setAddressValidation

      public void setAddressValidation(Card.Shipping.AddressValidation addressValidation)
      Address validation details for the shipment.
    • setCarrier

      public void setCarrier(String carrier)
      The delivery company that shipped a card.

      One of dhl, fedex, royal_mail, or usps.

    • setCustoms

      public void setCustoms(Card.Shipping.Customs customs)
      Additional information that may be required for clearing customs.
    • setEta

      public void setEta(Long eta)
      A unix timestamp representing a best estimate of when the card will be delivered.
    • setName

      public void setName(String name)
      Recipient name.
    • setPhoneNumber

      public void setPhoneNumber(String phoneNumber)
      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

      public void setRequireSignature(Boolean requireSignature)
      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

      public void setService(String service)
      Shipment service, such as standard or express.

      One of express, priority, or standard.

    • setStatus

      public void setStatus(String status)
      The delivery status of the card.

      One of canceled, delivered, failure, pending, returned, or shipped.

    • setTrackingNumber

      public void setTrackingNumber(String trackingNumber)
      A tracking number for a card shipment.
    • setTrackingUrl

      public void setTrackingUrl(String trackingUrl)
      A link to the shipping carrier's site where you can view detailed information about a card shipment.
    • setType

      public void setType(String type)
      Packaging options.

      One of bulk, or individual.

    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object