Package com.clover.sdk.v3.payments.api
Class CapturePreAuthRequestIntentBuilder.TipOptions
- java.lang.Object
-
- com.clover.sdk.v3.payments.api.CapturePreAuthRequestIntentBuilder.TipOptions
-
- Enclosing class:
- CapturePreAuthRequestIntentBuilder
public static class CapturePreAuthRequestIntentBuilder.TipOptions extends Object
Tip options that allow the Integrator to control tipping on a per-transaction level.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CapturePreAuthRequestIntentBuilder.TipOptions
Disable()
No tip will be taken and tipAmount will default to 0.static CapturePreAuthRequestIntentBuilder.TipOptions
PromptCustomer(Long baseAmount, List<TipSuggestion> tipSuggestions)
Customers will be prompted to tip.static CapturePreAuthRequestIntentBuilder.TipOptions
Provided(long tipAmount)
Tips will be provided by Integrator.
-
-
-
Method Detail
-
Disable
public static CapturePreAuthRequestIntentBuilder.TipOptions Disable()
No tip will be taken and tipAmount will default to 0.
-
Provided
public static CapturePreAuthRequestIntentBuilder.TipOptions Provided(long tipAmount)
Tips will be provided by Integrator.
-
PromptCustomer
public static CapturePreAuthRequestIntentBuilder.TipOptions PromptCustomer(Long baseAmount, List<TipSuggestion> tipSuggestions)
Customers will be prompted to tip.
-
-