public class CobrandedCard extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CobrandedCard.Builder
Class to build instances of
CobrandedCard. |
| Constructor and Description |
|---|
CobrandedCard()
Default constructor.
|
CobrandedCard(List<String> labels,
PayeeBase payee,
Money amount)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Money |
getAmount()
Getter for Amount.
|
List<String> |
getLabels()
Getter for Labels.
|
PayeeBase |
getPayee()
Getter for Payee.
|
void |
setAmount(Money amount)
Setter for Amount.
|
void |
setLabels(List<String> labels)
Setter for Labels.
|
void |
setPayee(PayeeBase payee)
Setter for Payee.
|
CobrandedCard.Builder |
toBuilder()
Builds a new
CobrandedCard.Builder object. |
String |
toString()
Converts this CobrandedCard into string format.
|
public List<String> getLabels()
public void setLabels(List<String> labels)
labels - Value for List of Stringpublic PayeeBase getPayee()
public void setPayee(PayeeBase payee)
payee - Value for PayeeBasepublic Money getAmount()
public void setAmount(Money amount)
amount - Value for Moneypublic String toString()
public CobrandedCard.Builder toBuilder()
CobrandedCard.Builder object.
Creates the instance with the state of the current model.CobrandedCard.Builder objectCopyright © 2025. All rights reserved.