public class ReceiptOptions extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ReceiptOptions.Builder
Class to build instances of
ReceiptOptions. |
| Modifier | Constructor and Description |
|---|---|
|
ReceiptOptions(String paymentId,
Boolean printOnly,
Boolean isDuplicate)
Initialization constructor.
|
protected |
ReceiptOptions(String paymentId,
io.apimatic.core.types.OptionalNullable<Boolean> printOnly,
io.apimatic.core.types.OptionalNullable<Boolean> isDuplicate)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Boolean |
getIsDuplicate()
Getter for IsDuplicate.
|
String |
getPaymentId()
Getter for PaymentId.
|
Boolean |
getPrintOnly()
Getter for PrintOnly.
|
int |
hashCode() |
protected io.apimatic.core.types.OptionalNullable<Boolean> |
internalGetIsDuplicate()
Internal Getter for IsDuplicate.
|
protected io.apimatic.core.types.OptionalNullable<Boolean> |
internalGetPrintOnly()
Internal Getter for PrintOnly.
|
ReceiptOptions.Builder |
toBuilder()
Builds a new
ReceiptOptions.Builder object. |
String |
toString()
Converts this ReceiptOptions into string format.
|
public ReceiptOptions(String paymentId, Boolean printOnly, Boolean isDuplicate)
paymentId - String value for paymentId.printOnly - Boolean value for printOnly.isDuplicate - Boolean value for isDuplicate.protected ReceiptOptions(String paymentId, io.apimatic.core.types.OptionalNullable<Boolean> printOnly, io.apimatic.core.types.OptionalNullable<Boolean> isDuplicate)
paymentId - String value for paymentId.printOnly - Boolean value for printOnly.isDuplicate - Boolean value for isDuplicate.public String getPaymentId()
protected io.apimatic.core.types.OptionalNullable<Boolean> internalGetPrintOnly()
public Boolean getPrintOnly()
protected io.apimatic.core.types.OptionalNullable<Boolean> internalGetIsDuplicate()
public Boolean getIsDuplicate()
public String toString()
public ReceiptOptions.Builder toBuilder()
ReceiptOptions.Builder object.
Creates the instance with the state of the current model.ReceiptOptions.Builder objectCopyright © 2024. All rights reserved.