Package com.clover.sdk.v3.payments.api
Class CapturePreAuthRequestIntentBuilder.ReceiptOptions
- java.lang.Object
-
- com.clover.sdk.v3.payments.api.CapturePreAuthRequestIntentBuilder.ReceiptOptions
-
- Enclosing class:
- CapturePreAuthRequestIntentBuilder
public static class CapturePreAuthRequestIntentBuilder.ReceiptOptions extends Object
ReceiptOptions that allow the Integrator to control the receipt selection options on a per-transaction level.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CapturePreAuthRequestIntentBuilder.ReceiptOptions.EmailReceiptOption
EmailReceiptOption that allows the Integrator to control the Email receipt option.static class
CapturePreAuthRequestIntentBuilder.ReceiptOptions.NoReceiptOption
PrintReceiptOption that allows the Integrator to control the Print receipt option.static class
CapturePreAuthRequestIntentBuilder.ReceiptOptions.PrintReceiptOption
PrintReceiptOption that allows the Integrator to control the Print receipt option.static class
CapturePreAuthRequestIntentBuilder.ReceiptOptions.SmsReceiptOption
SmsReceiptOption that allows the Integrator to control the Sms receipt option.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CapturePreAuthRequestIntentBuilder.ReceiptOptions
Default(boolean cloverShouldHandleReceipts)
Create ReceiptOptions with the default list of options displaying, with an option to have the Clover default receipt processing or not.static CapturePreAuthRequestIntentBuilder.ReceiptOptions
Instance(Boolean cloverShouldHandleReceipts, CapturePreAuthRequestIntentBuilder.ReceiptOptions.SmsReceiptOption smsReceiptOption, CapturePreAuthRequestIntentBuilder.ReceiptOptions.EmailReceiptOption emailReceiptOption, CapturePreAuthRequestIntentBuilder.ReceiptOptions.PrintReceiptOption printReceiptOption, CapturePreAuthRequestIntentBuilder.ReceiptOptions.NoReceiptOption noReceiptOption)
Builds a ReceiptOptions where some options may be specifiedstatic CapturePreAuthRequestIntentBuilder.ReceiptOptions
SkipReceiptSelection()
This will cause the UI flow to skip the receipt selection screen and no customer receipt will be processed
-
-
-
Method Detail
-
Default
public static CapturePreAuthRequestIntentBuilder.ReceiptOptions Default(boolean cloverShouldHandleReceipts)
Create ReceiptOptions with the default list of options displaying, with an option to have the Clover default receipt processing or not.- Parameters:
cloverShouldHandleReceipts
- - true-Clover will process a default Clover receipt(default), or false-will return the object with a REQUESTED value if a default Clover receipt isn't desired. For SMS and Email, an additional field containing the sms number or email address will also be returned.- Returns:
-
SkipReceiptSelection
public static CapturePreAuthRequestIntentBuilder.ReceiptOptions SkipReceiptSelection()
This will cause the UI flow to skip the receipt selection screen and no customer receipt will be processed- Returns:
-
Instance
public static CapturePreAuthRequestIntentBuilder.ReceiptOptions Instance(Boolean cloverShouldHandleReceipts, CapturePreAuthRequestIntentBuilder.ReceiptOptions.SmsReceiptOption smsReceiptOption, CapturePreAuthRequestIntentBuilder.ReceiptOptions.EmailReceiptOption emailReceiptOption, CapturePreAuthRequestIntentBuilder.ReceiptOptions.PrintReceiptOption printReceiptOption, CapturePreAuthRequestIntentBuilder.ReceiptOptions.NoReceiptOption noReceiptOption)
Builds a ReceiptOptions where some options may be specified- Parameters:
cloverShouldHandleReceipts
- - true-Clover will process a default Clover receipt(default), or false-will return the object with a REQUESTED value if a default Clover receipt isn't desired. For SMS and Email, an additional field containing the sms number or email address will also be returned.smsReceiptOption
- - @see SmsReceiptOptionemailReceiptOption
- - @see EmailReceiptOptionsprintReceiptOption
- - @see PrintReceiptOptionnoReceiptOption
- - @see NoReceiptOption- Returns:
-
-