Package com.stripe.param
Class ChargeCreateParams.Shipping
- java.lang.Object
-
- com.stripe.param.ChargeCreateParams.Shipping
-
- Enclosing class:
- ChargeCreateParams
public static class ChargeCreateParams.Shipping extends java.lang.Object
Add all map key/value pairs to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeChargeCreateParams.Destination.extraParams
for the field documentation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ChargeCreateParams.Shipping.Address
static class
ChargeCreateParams.Shipping.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ChargeCreateParams.Shipping.Builder
builder()
ChargeCreateParams.Shipping.Address
getAddress()
Shipping address.java.lang.String
getCarrier()
The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc.java.util.Map<java.lang.String,java.lang.Object>
getExtraParams()
Map of extra parameters for custom features not available in this client library.java.lang.String
getName()
Recipient name.java.lang.String
getPhone()
Recipient phone (including extension).java.lang.String
getTrackingNumber()
The tracking number for a physical product, obtained from the delivery service.
-
-
-
Method Detail
-
builder
public static ChargeCreateParams.Shipping.Builder builder()
-
getAddress
public ChargeCreateParams.Shipping.Address getAddress()
Shipping address.
-
getCarrier
public java.lang.String getCarrier()
The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc.
-
getExtraParams
public java.util.Map<java.lang.String,java.lang.Object> getExtraParams()
Map of extra parameters for custom features not available in this client library. The content in this map is not serialized under this field's@SerializedName
value. Instead, each key/value pair is serialized as if the key is a root-level field (serialized) name in this param object. Effectively, this map is flattened to its parent instance.
-
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.
-
-