Package com.stripe.param
Class OrderUpdateParams.Credit.Builder
java.lang.Object
com.stripe.param.OrderUpdateParams.Credit.Builder
- Enclosing class:
- OrderUpdateParams.Credit
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Finalize and obtain parameter instance from this builder.putAllExtraParam
(Map<String, Object> map) Add all map key/value pairs to `extraParams` map.putExtraParam
(String key, Object value) Add a key/value pair to `extraParams` map.setGiftCard
(EmptyParam giftCard) The gift card to apply to the order.setGiftCard
(String giftCard) The gift card to apply to the order.Required. The type of credit to apply to the order, onlygift_card
currently supported.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
putExtraParam
Add a key/value pair 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. SeeOrderUpdateParams.Credit.extraParams
for the field documentation. -
putAllExtraParam
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. SeeOrderUpdateParams.Credit.extraParams
for the field documentation. -
setGiftCard
The gift card to apply to the order. -
setGiftCard
The gift card to apply to the order. -
setType
Required. The type of credit to apply to the order, onlygift_card
currently supported.
-