public class CatalogQuickAmount extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CatalogQuickAmount.Builder
Class to build instances of
CatalogQuickAmount. |
| Modifier | Constructor and Description |
|---|---|
|
CatalogQuickAmount(String type,
Money amount,
Long score,
Long ordinal)
Initialization constructor.
|
protected |
CatalogQuickAmount(String type,
Money amount,
io.apimatic.core.types.OptionalNullable<Long> score,
io.apimatic.core.types.OptionalNullable<Long> ordinal)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Money |
getAmount()
Getter for Amount.
|
Long |
getOrdinal()
Getter for Ordinal.
|
Long |
getScore()
Getter for Score.
|
String |
getType()
Getter for Type.
|
int |
hashCode() |
protected io.apimatic.core.types.OptionalNullable<Long> |
internalGetOrdinal()
Internal Getter for Ordinal.
|
protected io.apimatic.core.types.OptionalNullable<Long> |
internalGetScore()
Internal Getter for Score.
|
CatalogQuickAmount.Builder |
toBuilder()
Builds a new
CatalogQuickAmount.Builder object. |
String |
toString()
Converts this CatalogQuickAmount into string format.
|
public CatalogQuickAmount(String type, Money amount, Long score, Long ordinal)
type - String value for type.amount - Money value for amount.score - Long value for score.ordinal - Long value for ordinal.protected CatalogQuickAmount(String type, Money amount, io.apimatic.core.types.OptionalNullable<Long> score, io.apimatic.core.types.OptionalNullable<Long> ordinal)
type - String value for type.amount - Money value for amount.score - Long value for score.ordinal - Long value for ordinal.public String getType()
public Money getAmount()
protected io.apimatic.core.types.OptionalNullable<Long> internalGetScore()
public Long getScore()
protected io.apimatic.core.types.OptionalNullable<Long> internalGetOrdinal()
public Long getOrdinal()
public String toString()
public CatalogQuickAmount.Builder toBuilder()
CatalogQuickAmount.Builder object.
Creates the instance with the state of the current model.CatalogQuickAmount.Builder objectCopyright © 2024. All rights reserved.