Package com.stripe.param.issuing
Class CreditUnderwritingRecordCorrectParams.Decision.CreditLimitDecreased.Builder
java.lang.Object
com.stripe.param.issuing.CreditUnderwritingRecordCorrectParams.Decision.CreditLimitDecreased.Builder
- Enclosing class:
- CreditUnderwritingRecordCorrectParams.Decision.CreditLimitDecreased
public static class CreditUnderwritingRecordCorrectParams.Decision.CreditLimitDecreased.Builder
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllReason
(List<CreditUnderwritingRecordCorrectParams.Decision.CreditLimitDecreased.Reason> elements) Add all elements to `reasons` list.Add an element to `reasons` list.build()
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.Required. The credit approved, in the currency of the account and smallest currency unit.setCurrency
(String currency) The currency of the credit approved, will default to the Account's Issuing currency.setReasonOtherExplanation
(String reasonOtherExplanation) Details about thereasons.other
when present.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAmount
public CreditUnderwritingRecordCorrectParams.Decision.CreditLimitDecreased.Builder setAmount(Long amount) Required. The credit approved, in the currency of the account and smallest currency unit. -
setCurrency
public CreditUnderwritingRecordCorrectParams.Decision.CreditLimitDecreased.Builder setCurrency(String currency) The currency of the credit approved, will default to the Account's Issuing currency. -
putExtraParam
public CreditUnderwritingRecordCorrectParams.Decision.CreditLimitDecreased.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. SeeCreditUnderwritingRecordCorrectParams.Decision.CreditLimitDecreased.extraParams
for the field documentation. -
putAllExtraParam
public CreditUnderwritingRecordCorrectParams.Decision.CreditLimitDecreased.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. SeeCreditUnderwritingRecordCorrectParams.Decision.CreditLimitDecreased.extraParams
for the field documentation. -
setReasonOtherExplanation
public CreditUnderwritingRecordCorrectParams.Decision.CreditLimitDecreased.Builder setReasonOtherExplanation(String reasonOtherExplanation) Details about thereasons.other
when present. -
addReason
public CreditUnderwritingRecordCorrectParams.Decision.CreditLimitDecreased.Builder addReason(CreditUnderwritingRecordCorrectParams.Decision.CreditLimitDecreased.Reason element) Add an element to `reasons` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeCreditUnderwritingRecordCorrectParams.Decision.CreditLimitDecreased.reasons
for the field documentation. -
addAllReason
public CreditUnderwritingRecordCorrectParams.Decision.CreditLimitDecreased.Builder addAllReason(List<CreditUnderwritingRecordCorrectParams.Decision.CreditLimitDecreased.Reason> elements) Add all elements to `reasons` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeCreditUnderwritingRecordCorrectParams.Decision.CreditLimitDecreased.reasons
for the field documentation.
-