public class SubscriptionAmountWithBreakdown extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SubscriptionAmountWithBreakdown.Builder
Class to build instances of
SubscriptionAmountWithBreakdown. |
| Constructor and Description |
|---|
SubscriptionAmountWithBreakdown()
Default constructor.
|
SubscriptionAmountWithBreakdown(Money grossAmount,
Money totalItemAmount,
Money feeAmount,
Money shippingAmount,
Money taxAmount,
Money netAmount)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Money |
getFeeAmount()
Getter for FeeAmount.
|
Money |
getGrossAmount()
Getter for GrossAmount.
|
Money |
getNetAmount()
Getter for NetAmount.
|
Money |
getShippingAmount()
Getter for ShippingAmount.
|
Money |
getTaxAmount()
Getter for TaxAmount.
|
Money |
getTotalItemAmount()
Getter for TotalItemAmount.
|
void |
setFeeAmount(Money feeAmount)
Setter for FeeAmount.
|
void |
setGrossAmount(Money grossAmount)
Setter for GrossAmount.
|
void |
setNetAmount(Money netAmount)
Setter for NetAmount.
|
void |
setShippingAmount(Money shippingAmount)
Setter for ShippingAmount.
|
void |
setTaxAmount(Money taxAmount)
Setter for TaxAmount.
|
void |
setTotalItemAmount(Money totalItemAmount)
Setter for TotalItemAmount.
|
SubscriptionAmountWithBreakdown.Builder |
toBuilder()
Builds a new
SubscriptionAmountWithBreakdown.Builder object. |
String |
toString()
Converts this SubscriptionAmountWithBreakdown into string format.
|
public SubscriptionAmountWithBreakdown()
public SubscriptionAmountWithBreakdown(Money grossAmount, Money totalItemAmount, Money feeAmount, Money shippingAmount, Money taxAmount, Money netAmount)
grossAmount - Money value for grossAmount.totalItemAmount - Money value for totalItemAmount.feeAmount - Money value for feeAmount.shippingAmount - Money value for shippingAmount.taxAmount - Money value for taxAmount.netAmount - Money value for netAmount.public Money getGrossAmount()
public void setGrossAmount(Money grossAmount)
grossAmount - Value for Moneypublic Money getTotalItemAmount()
public void setTotalItemAmount(Money totalItemAmount)
totalItemAmount - Value for Moneypublic Money getFeeAmount()
public void setFeeAmount(Money feeAmount)
feeAmount - Value for Moneypublic Money getShippingAmount()
public void setShippingAmount(Money shippingAmount)
shippingAmount - Value for Moneypublic Money getTaxAmount()
public void setTaxAmount(Money taxAmount)
taxAmount - Value for Moneypublic Money getNetAmount()
public void setNetAmount(Money netAmount)
netAmount - Value for Moneypublic String toString()
public SubscriptionAmountWithBreakdown.Builder toBuilder()
SubscriptionAmountWithBreakdown.Builder object.
Creates the instance with the state of the current model.SubscriptionAmountWithBreakdown.Builder objectCopyright © 2026. All rights reserved.