Class SourceCreateParams.Receiver.Builder

java.lang.Object
com.stripe.param.SourceCreateParams.Receiver.Builder
Enclosing class:
SourceCreateParams.Receiver

public static class SourceCreateParams.Receiver.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • build

      Finalize and obtain parameter instance from this builder.
    • putExtraParam

      public SourceCreateParams.Receiver.Builder putExtraParam(String key, Object value)
      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. See SourceCreateParams.Receiver.extraParams for the field documentation.
    • putAllExtraParam

      public SourceCreateParams.Receiver.Builder putAllExtraParam(Map<String,Object> map)
      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. See SourceCreateParams.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. Either email (an email is sent directly to the customer) or manual (a source.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.