Package com.stripe.param.issuing
Class DisputeCreateParams.Builder
- java.lang.Object
-
- com.stripe.param.issuing.DisputeCreateParams.Builder
-
- Enclosing class:
- DisputeCreateParams
public static class DisputeCreateParams.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DisputeCreateParams.Builder
addAllExpand(java.util.List<java.lang.String> elements)
Add all elements to `expand` list.DisputeCreateParams.Builder
addExpand(java.lang.String element)
Add an element to `expand` list.DisputeCreateParams
build()
Finalize and obtain parameter instance from this builder.DisputeCreateParams.Builder
putAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)
Add all map key/value pairs to `extraParams` map.DisputeCreateParams.Builder
putAllMetadata(java.util.Map<java.lang.String,java.lang.String> map)
Add all map key/value pairs to `metadata` map.DisputeCreateParams.Builder
putExtraParam(java.lang.String key, java.lang.Object value)
Add a key/value pair to `extraParams` map.DisputeCreateParams.Builder
putMetadata(java.lang.String key, java.lang.String value)
Add a key/value pair to `metadata` map.DisputeCreateParams.Builder
setEvidence(DisputeCreateParams.Evidence evidence)
Evidence provided for the dispute.DisputeCreateParams.Builder
setTransaction(java.lang.String transaction)
The ID of the issuing transaction to create a dispute for.
-
-
-
Method Detail
-
build
public DisputeCreateParams build()
Finalize and obtain parameter instance from this builder.
-
setEvidence
public DisputeCreateParams.Builder setEvidence(DisputeCreateParams.Evidence evidence)
Evidence provided for the dispute.
-
addExpand
public DisputeCreateParams.Builder addExpand(java.lang.String element)
Add an element to `expand` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeDisputeCreateParams.expand
for the field documentation.
-
addAllExpand
public DisputeCreateParams.Builder addAllExpand(java.util.List<java.lang.String> elements)
Add all elements to `expand` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeDisputeCreateParams.expand
for the field documentation.
-
putExtraParam
public DisputeCreateParams.Builder putExtraParam(java.lang.String key, java.lang.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. SeeDisputeCreateParams.extraParams
for the field documentation.
-
putAllExtraParam
public DisputeCreateParams.Builder putAllExtraParam(java.util.Map<java.lang.String,java.lang.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. SeeDisputeCreateParams.extraParams
for the field documentation.
-
putMetadata
public DisputeCreateParams.Builder putMetadata(java.lang.String key, java.lang.String value)
Add a key/value pair to `metadata` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeDisputeCreateParams.metadata
for the field documentation.
-
putAllMetadata
public DisputeCreateParams.Builder putAllMetadata(java.util.Map<java.lang.String,java.lang.String> map)
Add all map key/value pairs to `metadata` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeDisputeCreateParams.metadata
for the field documentation.
-
setTransaction
public DisputeCreateParams.Builder setTransaction(java.lang.String transaction)
The ID of the issuing transaction to create a dispute for.
-
-