public static class V1PaymentDiscount.Builder extends Object
V1PaymentDiscount.| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
V1PaymentDiscount.Builder |
appliedMoney(V1Money appliedMoney)
Setter for appliedMoney.
|
V1PaymentDiscount |
build()
Builds a new
V1PaymentDiscount object using the set fields. |
V1PaymentDiscount.Builder |
discountId(String discountId)
Setter for discountId.
|
V1PaymentDiscount.Builder |
name(String name)
Setter for name.
|
public V1PaymentDiscount.Builder name(String name)
name - String value for name.public V1PaymentDiscount.Builder appliedMoney(V1Money appliedMoney)
appliedMoney - V1Money value for appliedMoney.public V1PaymentDiscount.Builder discountId(String discountId)
discountId - String value for discountId.public V1PaymentDiscount build()
V1PaymentDiscount object using the set fields.V1PaymentDiscountCopyright © 2022. All rights reserved.