public class ShippingFee extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ShippingFee.Builder
Class to build instances of
ShippingFee. |
| Modifier | Constructor and Description |
|---|---|
protected |
ShippingFee(Money charge,
io.apimatic.core.types.OptionalNullable<String> name)
Initialization constructor.
|
|
ShippingFee(Money charge,
String name)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Money |
getCharge()
Getter for Charge.
|
String |
getName()
Getter for Name.
|
int |
hashCode() |
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetName()
Internal Getter for Name.
|
ShippingFee.Builder |
toBuilder()
Builds a new
ShippingFee.Builder object. |
String |
toString()
Converts this ShippingFee into string format.
|
public ShippingFee(Money charge, String name)
charge - Money value for charge.name - String value for name.protected io.apimatic.core.types.OptionalNullable<String> internalGetName()
public String getName()
public Money getCharge()
public String toString()
public ShippingFee.Builder toBuilder()
ShippingFee.Builder object.
Creates the instance with the state of the current model.ShippingFee.Builder objectCopyright © 2024. All rights reserved.