Class CardConvertPhysicalParams.Body.Builder
-
- All Implemented Interfaces:
public final class CardConvertPhysicalParams.Body.BuilderA builder for Body.
-
-
Method Summary
-
-
Method Detail
-
shippingAddress
final CardConvertPhysicalParams.Body.Builder shippingAddress(ShippingAddress shippingAddress)
The shipping address this card will be sent to.
-
shippingAddress
final CardConvertPhysicalParams.Body.Builder shippingAddress(JsonField<ShippingAddress> shippingAddress)
Sets Builder.shippingAddress to an arbitrary JSON value.
You should usually call Builder.shippingAddress with a well-typed ShippingAddress value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
carrier
final CardConvertPhysicalParams.Body.Builder carrier(Carrier carrier)
If omitted, the previous carrier will be used.
-
carrier
final CardConvertPhysicalParams.Body.Builder carrier(JsonField<Carrier> carrier)
Sets Builder.carrier to an arbitrary JSON value.
You should usually call Builder.carrier with a well-typed Carrier value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
productId
final CardConvertPhysicalParams.Body.Builder productId(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.
-
productId
final CardConvertPhysicalParams.Body.Builder productId(JsonField<String> productId)
Sets Builder.productId to an arbitrary JSON value.
You should usually call Builder.productId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
shippingMethod
final CardConvertPhysicalParams.Body.Builder shippingMethod(CardConvertPhysicalParams.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
-
shippingMethod
final CardConvertPhysicalParams.Body.Builder shippingMethod(JsonField<CardConvertPhysicalParams.ShippingMethod> shippingMethod)
Sets Builder.shippingMethod to an arbitrary JSON value.
You should usually call Builder.shippingMethod with a well-typed ShippingMethod value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final CardConvertPhysicalParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final CardConvertPhysicalParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final CardConvertPhysicalParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final CardConvertPhysicalParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final CardConvertPhysicalParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final CardConvertPhysicalParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.shippingAddress()
-
-
-
-