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.BuilderaddAllExpand(java.util.List<java.lang.String> elements)Add all elements to `expand` list.DisputeCreateParams.BuilderaddExpand(java.lang.String element)Add an element to `expand` list.DisputeCreateParamsbuild()Finalize and obtain parameter instance from this builder.DisputeCreateParams.BuilderputAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)Add all map key/value pairs to `extraParams` map.DisputeCreateParams.BuilderputAllMetadata(java.util.Map<java.lang.String,java.lang.String> map)Add all map key/value pairs to `metadata` map.DisputeCreateParams.BuilderputExtraParam(java.lang.String key, java.lang.Object value)Add a key/value pair to `extraParams` map.DisputeCreateParams.BuilderputMetadata(java.lang.String key, java.lang.String value)Add a key/value pair to `metadata` map.DisputeCreateParams.BuildersetEvidence(DisputeCreateParams.Evidence evidence)Evidence provided for the dispute.DisputeCreateParams.BuildersetTransaction(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.expandfor 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.expandfor 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.extraParamsfor 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.extraParamsfor 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.metadatafor 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.metadatafor the field documentation.
-
setTransaction
public DisputeCreateParams.Builder setTransaction(java.lang.String transaction)
The ID of the issuing transaction to create a dispute for.
-
-