public static class SubscriptionAmountWithBreakdown.Builder extends Object
SubscriptionAmountWithBreakdown.| Constructor and Description |
|---|
Builder()
Initialization constructor.
|
Builder(Money grossAmount)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
SubscriptionAmountWithBreakdown |
build()
Builds a new
SubscriptionAmountWithBreakdown object using the set fields. |
SubscriptionAmountWithBreakdown.Builder |
feeAmount(Money feeAmount)
Setter for feeAmount.
|
SubscriptionAmountWithBreakdown.Builder |
grossAmount(Money grossAmount)
Setter for grossAmount.
|
SubscriptionAmountWithBreakdown.Builder |
netAmount(Money netAmount)
Setter for netAmount.
|
SubscriptionAmountWithBreakdown.Builder |
shippingAmount(Money shippingAmount)
Setter for shippingAmount.
|
SubscriptionAmountWithBreakdown.Builder |
taxAmount(Money taxAmount)
Setter for taxAmount.
|
SubscriptionAmountWithBreakdown.Builder |
totalItemAmount(Money totalItemAmount)
Setter for totalItemAmount.
|
public Builder()
public Builder(Money grossAmount)
grossAmount - Money value for grossAmount.public SubscriptionAmountWithBreakdown.Builder grossAmount(Money grossAmount)
grossAmount - Money value for grossAmount.public SubscriptionAmountWithBreakdown.Builder totalItemAmount(Money totalItemAmount)
totalItemAmount - Money value for totalItemAmount.public SubscriptionAmountWithBreakdown.Builder feeAmount(Money feeAmount)
feeAmount - Money value for feeAmount.public SubscriptionAmountWithBreakdown.Builder shippingAmount(Money shippingAmount)
shippingAmount - Money value for shippingAmount.public SubscriptionAmountWithBreakdown.Builder taxAmount(Money taxAmount)
taxAmount - Money value for taxAmount.public SubscriptionAmountWithBreakdown.Builder netAmount(Money netAmount)
netAmount - Money value for netAmount.public SubscriptionAmountWithBreakdown build()
SubscriptionAmountWithBreakdown object using the set fields.SubscriptionAmountWithBreakdownCopyright © 2026. All rights reserved.