Class CardReissueParams.Body
-
- All Implemented Interfaces:
public final class CardReissueParams.Body
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classCardReissueParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final Optional<Carrier>carrier()If omitted, the previous carrier will be used. final Optional<String>productId()Specifies the configuration (e.g. final Optional<ShippingAddress>shippingAddress()If omitted, the previous shipping address will be used. final Optional<CardReissueParams.ShippingMethod>shippingMethod()Shipping method for the card. final JsonField<Carrier>_carrier()Returns the raw JSON value of carrier. final JsonField<String>_productId()Returns the raw JSON value of productId. final JsonField<ShippingAddress>_shippingAddress()Returns the raw JSON value of shippingAddress. final JsonField<CardReissueParams.ShippingMethod>_shippingMethod()Returns the raw JSON value of shippingMethod. final Map<String, JsonValue>_additionalProperties()final CardReissueParams.Body.BuildertoBuilder()final CardReissueParams.Bodyvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static CardReissueParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
productId
final Optional<String> productId()
Specifies the configuration (e.g. physical card art) that the card should be manufactured with, and only applies to cards of type
PHYSICAL. This must be configured with Lithic before use.
-
shippingAddress
final Optional<ShippingAddress> shippingAddress()
If omitted, the previous shipping address will be used.
-
shippingMethod
final Optional<CardReissueParams.ShippingMethod> shippingMethod()
Shipping method for the card. Only applies to cards of type PHYSICAL. Use of options besides
STANDARDrequire additional permissions.STANDARD- USPS regular mail or similar international option, with no trackingSTANDARD_WITH_TRACKING- USPS regular mail or similar international option, with trackingPRIORITY- USPS Priority, 1-3 day shipping, with trackingEXPRESS- FedEx or UPS depending on card manufacturer, Express, 3-day shipping, with tracking2_DAY- FedEx or UPS depending on card manufacturer, 2-day shipping, with trackingEXPEDITED- FedEx or UPS depending on card manufacturer, Standard Overnight or similar international option, with tracking
-
_carrier
final JsonField<Carrier> _carrier()
Returns the raw JSON value of carrier.
Unlike carrier, this method doesn't throw if the JSON field has an unexpected type.
-
_productId
final JsonField<String> _productId()
Returns the raw JSON value of productId.
Unlike productId, this method doesn't throw if the JSON field has an unexpected type.
-
_shippingAddress
final JsonField<ShippingAddress> _shippingAddress()
Returns the raw JSON value of shippingAddress.
Unlike shippingAddress, this method doesn't throw if the JSON field has an unexpected type.
-
_shippingMethod
final JsonField<CardReissueParams.ShippingMethod> _shippingMethod()
Returns the raw JSON value of shippingMethod.
Unlike shippingMethod, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final CardReissueParams.Body.Builder toBuilder()
-
validate
final CardReissueParams.Body validate()
-
builder
final static CardReissueParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
-
-
-
-