Package com.clover.sdk.v3.payments.api
Class CreditRequestIntentBuilder.ReceiptOptions
- java.lang.Object
-
- com.clover.sdk.v3.payments.api.CreditRequestIntentBuilder.ReceiptOptions
-
- Enclosing class:
- CreditRequestIntentBuilder
public static class CreditRequestIntentBuilder.ReceiptOptions extends Object
Receipt options that allow the Integrator to control the receipt selection on a per-transaction level.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CreditRequestIntentBuilder.ReceiptOptions.EmailReceiptOption
EmailReceiptOption that allows the Integrator to control the Email receipt option.static class
CreditRequestIntentBuilder.ReceiptOptions.NoReceiptOption
PrintReceiptOption that allows the Integrator to control the Print receipt option.static class
CreditRequestIntentBuilder.ReceiptOptions.PrintReceiptOption
PrintReceiptOption that allows the Integrator to control the Print receipt option.static class
CreditRequestIntentBuilder.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 CreditRequestIntentBuilder.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 CreditRequestIntentBuilder.ReceiptOptions
Instance(Boolean cloverShouldHandleReceipts, CreditRequestIntentBuilder.ReceiptOptions.SmsReceiptOption smsReceiptOption, CreditRequestIntentBuilder.ReceiptOptions.EmailReceiptOption emailReceiptOption, CreditRequestIntentBuilder.ReceiptOptions.PrintReceiptOption printReceiptOption, CreditRequestIntentBuilder.ReceiptOptions.NoReceiptOption noReceiptOption)
Builds a ReceiptOptions where some options may be specifiedstatic CreditRequestIntentBuilder.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 CreditRequestIntentBuilder.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 CreditRequestIntentBuilder.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 CreditRequestIntentBuilder.ReceiptOptions Instance(Boolean cloverShouldHandleReceipts, CreditRequestIntentBuilder.ReceiptOptions.SmsReceiptOption smsReceiptOption, CreditRequestIntentBuilder.ReceiptOptions.EmailReceiptOption emailReceiptOption, CreditRequestIntentBuilder.ReceiptOptions.PrintReceiptOption printReceiptOption, CreditRequestIntentBuilder.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:
-
-