Class CreditNoteCreateParams.Refund.Builder

java.lang.Object
com.stripe.param.CreditNoteCreateParams.Refund.Builder
Enclosing class:
CreditNoteCreateParams.Refund

public static class CreditNoteCreateParams.Refund.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • build

      Finalize and obtain parameter instance from this builder.
    • setAmountRefunded

      public CreditNoteCreateParams.Refund.Builder setAmountRefunded(Long amountRefunded)
      Amount of the refund that applies to this credit note, in cents (or local equivalent). Defaults to the entire refund amount.
    • putExtraParam

      public CreditNoteCreateParams.Refund.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 CreditNoteCreateParams.Refund.extraParams for the field documentation.
    • putAllExtraParam

      public CreditNoteCreateParams.Refund.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 CreditNoteCreateParams.Refund.extraParams for the field documentation.
    • setRefund

      public CreditNoteCreateParams.Refund.Builder setRefund(String refund)