Class CardConvertPhysicalParams
-
- All Implemented Interfaces:
-
com.lithic.api.core.Params
public final class CardConvertPhysicalParams implements Params
Convert a virtual card into a physical card and manufacture it. Customer must supply relevant fields for physical card creation including
product_id,carrier,shipping_method, andshipping_address. The card token will be unchanged. The card's type will be altered toPHYSICAL. The card will be set to statePENDING_FULFILLMENTand fulfilled at next fulfillment cycle. Virtual cards created on card programs which do not support physical cards cannot be converted. The card program cannot be changed as part of the conversion. Cards must be in anOPENstate to be converted. Only applies to cards of typeVIRTUAL(or existing cards with deprecated types ofDIGITAL_WALLETandUNLOCKED).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classCardConvertPhysicalParams.Bodypublic final classCardConvertPhysicalParams.BuilderA builder for CardConvertPhysicalParams.
public final classCardConvertPhysicalParams.ShippingMethodShipping method for the card. 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 Express, 3-day shipping, with tracking2_DAY- FedEx 2-day shipping, with trackingEXPEDITED- FedEx Standard Overnight or similar international option, with tracking
-
Method Summary
Modifier and Type Method Description final StringcardToken()final ShippingAddressshippingAddress()The shipping address this card will be sent to. final Optional<Carrier>carrier()If omitted, the previous carrier will be used. final Optional<String>productId()Specifies the configuration (e.g. final Optional<CardConvertPhysicalParams.ShippingMethod>shippingMethod()Shipping method for the card. final JsonField<ShippingAddress>_shippingAddress()The shipping address this card will be sent to. final JsonField<Carrier>_carrier()If omitted, the previous carrier will be used. final JsonField<String>_productId()Specifies the configuration (e.g. final JsonField<CardConvertPhysicalParams.ShippingMethod>_shippingMethod()Shipping method for the card. final Map<String, JsonValue>_additionalBodyProperties()final Headers_additionalHeaders()final QueryParams_additionalQueryParams()Headers_headers()The full set of headers in the parameters, including both fixed and additional headers. QueryParams_queryParams()The full set of query params in the parameters, including both fixed and additional query params. final StringgetPathParam(Integer index)final CardConvertPhysicalParams.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static CardConvertPhysicalParams.Builderbuilder()Returns a mutable builder for constructing an instance of CardConvertPhysicalParams. -
-
Method Detail
-
shippingAddress
final ShippingAddress shippingAddress()
The shipping address this card will be sent to.
-
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.
-
shippingMethod
final Optional<CardConvertPhysicalParams.ShippingMethod> shippingMethod()
Shipping method for the card. 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 Express, 3-day shipping, with tracking2_DAY- FedEx 2-day shipping, with trackingEXPEDITED- FedEx Standard Overnight or similar international option, with tracking
-
_shippingAddress
final JsonField<ShippingAddress> _shippingAddress()
The shipping address this card will be sent to.
-
_productId
final JsonField<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.
-
_shippingMethod
final JsonField<CardConvertPhysicalParams.ShippingMethod> _shippingMethod()
Shipping method for the card. 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 Express, 3-day shipping, with tracking2_DAY- FedEx 2-day shipping, with trackingEXPEDITED- FedEx Standard Overnight or similar international option, with tracking
-
_additionalBodyProperties
final Map<String, JsonValue> _additionalBodyProperties()
-
_additionalHeaders
final Headers _additionalHeaders()
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
-
_headers
Headers _headers()
The full set of headers in the parameters, including both fixed and additional headers.
-
_queryParams
QueryParams _queryParams()
The full set of query params in the parameters, including both fixed and additional query params.
-
getPathParam
final String getPathParam(Integer index)
-
toBuilder
final CardConvertPhysicalParams.Builder toBuilder()
-
builder
final static CardConvertPhysicalParams.Builder builder()
Returns a mutable builder for constructing an instance of CardConvertPhysicalParams.
The following fields are required:
.cardToken() .shippingAddress()
-
-
-
-