Package com.stripe.param.issuing
Class DisputeUpdateParams.Evidence.Builder
- java.lang.Object
-
- com.stripe.param.issuing.DisputeUpdateParams.Evidence.Builder
-
- Enclosing class:
- DisputeUpdateParams.Evidence
public static class DisputeUpdateParams.Evidence.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
build
public DisputeUpdateParams.Evidence build()
Finalize and obtain parameter instance from this builder.
-
setCanceled
public DisputeUpdateParams.Evidence.Builder setCanceled(DisputeUpdateParams.Evidence.Canceled canceled)
Evidence provided whenreason
is 'canceled'.
-
setCanceled
public DisputeUpdateParams.Evidence.Builder setCanceled(EmptyParam canceled)
Evidence provided whenreason
is 'canceled'.
-
setDuplicate
public DisputeUpdateParams.Evidence.Builder setDuplicate(DisputeUpdateParams.Evidence.Duplicate duplicate)
Evidence provided whenreason
is 'duplicate'.
-
setDuplicate
public DisputeUpdateParams.Evidence.Builder setDuplicate(EmptyParam duplicate)
Evidence provided whenreason
is 'duplicate'.
-
putExtraParam
public DisputeUpdateParams.Evidence.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. SeeDisputeUpdateParams.Evidence.extraParams
for the field documentation.
-
putAllExtraParam
public DisputeUpdateParams.Evidence.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. SeeDisputeUpdateParams.Evidence.extraParams
for the field documentation.
-
setFraudulent
public DisputeUpdateParams.Evidence.Builder setFraudulent(DisputeUpdateParams.Evidence.Fraudulent fraudulent)
Evidence provided whenreason
is 'fraudulent'.
-
setFraudulent
public DisputeUpdateParams.Evidence.Builder setFraudulent(EmptyParam fraudulent)
Evidence provided whenreason
is 'fraudulent'.
-
setMerchandiseNotAsDescribed
public DisputeUpdateParams.Evidence.Builder setMerchandiseNotAsDescribed(DisputeUpdateParams.Evidence.MerchandiseNotAsDescribed merchandiseNotAsDescribed)
Evidence provided whenreason
is 'merchandise_not_as_described'.
-
setMerchandiseNotAsDescribed
public DisputeUpdateParams.Evidence.Builder setMerchandiseNotAsDescribed(EmptyParam merchandiseNotAsDescribed)
Evidence provided whenreason
is 'merchandise_not_as_described'.
-
setNotReceived
public DisputeUpdateParams.Evidence.Builder setNotReceived(DisputeUpdateParams.Evidence.NotReceived notReceived)
Evidence provided whenreason
is 'not_received'.
-
setNotReceived
public DisputeUpdateParams.Evidence.Builder setNotReceived(EmptyParam notReceived)
Evidence provided whenreason
is 'not_received'.
-
setOther
public DisputeUpdateParams.Evidence.Builder setOther(DisputeUpdateParams.Evidence.Other other)
Evidence provided whenreason
is 'other'.
-
setOther
public DisputeUpdateParams.Evidence.Builder setOther(EmptyParam other)
Evidence provided whenreason
is 'other'.
-
setReason
public DisputeUpdateParams.Evidence.Builder setReason(DisputeUpdateParams.Evidence.Reason reason)
The reason for filing the dispute. The evidence should be submitted in the field of the same name.
-
setServiceNotAsDescribed
public DisputeUpdateParams.Evidence.Builder setServiceNotAsDescribed(DisputeUpdateParams.Evidence.ServiceNotAsDescribed serviceNotAsDescribed)
Evidence provided whenreason
is 'service_not_as_described'.
-
setServiceNotAsDescribed
public DisputeUpdateParams.Evidence.Builder setServiceNotAsDescribed(EmptyParam serviceNotAsDescribed)
Evidence provided whenreason
is 'service_not_as_described'.
-
-