Package com.stripe.param
Class SourceCreateParams.Receiver.Builder
java.lang.Object
com.stripe.param.SourceCreateParams.Receiver.Builder
- Enclosing class:
- SourceCreateParams.Receiver
-
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.setRefundAttributesMethod
(SourceCreateParams.Receiver.RefundAttributesMethod refundAttributesMethod) The method Stripe should use to request information needed to process a refund or mispayment.
-
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. SeeSourceCreateParams.Receiver.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. SeeSourceCreateParams.Receiver.extraParams
for the field documentation. -
setRefundAttributesMethod
public SourceCreateParams.Receiver.Builder setRefundAttributesMethod(SourceCreateParams.Receiver.RefundAttributesMethod refundAttributesMethod) The method Stripe should use to request information needed to process a refund or mispayment. Eitheremail
(an email is sent directly to the customer) ormanual
(asource.refund_attributes_required
event is sent to your webhooks endpoint). Refer to each payment method's documentation to learn which refund attributes may be required.
-