public class CaptureSubscriptionRequest extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CaptureSubscriptionRequest.Builder
Class to build instances of
CaptureSubscriptionRequest. |
| Constructor and Description |
|---|
CaptureSubscriptionRequest()
Default constructor.
|
CaptureSubscriptionRequest(String note,
CaptureType captureType,
Money amount)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Money |
getAmount()
Getter for Amount.
|
CaptureType |
getCaptureType()
Getter for CaptureType.
|
String |
getNote()
Getter for Note.
|
void |
setAmount(Money amount)
Setter for Amount.
|
void |
setCaptureType(CaptureType captureType)
Setter for CaptureType.
|
void |
setNote(String note)
Setter for Note.
|
CaptureSubscriptionRequest.Builder |
toBuilder()
Builds a new
CaptureSubscriptionRequest.Builder object. |
String |
toString()
Converts this CaptureSubscriptionRequest into string format.
|
public CaptureSubscriptionRequest()
public CaptureSubscriptionRequest(String note, CaptureType captureType, Money amount)
note - String value for note.captureType - CaptureType value for captureType.amount - Money value for amount.public String getNote()
public void setNote(String note)
note - Value for Stringpublic CaptureType getCaptureType()
public void setCaptureType(CaptureType captureType)
captureType - Value for CaptureTypepublic Money getAmount()
public void setAmount(Money amount)
amount - Value for Moneypublic String toString()
public CaptureSubscriptionRequest.Builder toBuilder()
CaptureSubscriptionRequest.Builder object.
Creates the instance with the state of the current model.CaptureSubscriptionRequest.Builder objectCopyright © 2026. All rights reserved.