Package io.voucherify.client.model
Class EarningRuleLoyaltyOrderItems
java.lang.Object
io.voucherify.client.model.EarningRuleLoyaltyOrderItems
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class EarningRuleLoyaltyOrderItems
extends Object
EarningRuleLoyaltyOrderItems
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic EarningRuleLoyaltyOrderItemsCreate an instance of EarningRuleLoyaltyOrderItems given an JSON stringGet amountGet quantityGet subtotalAmountinthashCode()quantity(EarningRuleLoyaltyOrderItemsQuantity quantity) voidvoidvoidsetSubtotalAmount(EarningRuleLoyaltyOrderItemsSubtotalAmount subtotalAmount) subtotalAmount(EarningRuleLoyaltyOrderItemsSubtotalAmount subtotalAmount) toJson()Convert an instance of EarningRuleLoyaltyOrderItems to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_QUANTITY
- See Also:
-
SERIALIZED_NAME_AMOUNT
- See Also:
-
SERIALIZED_NAME_SUBTOTAL_AMOUNT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
EarningRuleLoyaltyOrderItems
public EarningRuleLoyaltyOrderItems()
-
-
Method Details
-
quantity
-
getQuantity
Get quantity- Returns:
- quantity
-
setQuantity
-
amount
-
getAmount
Get amount- Returns:
- amount
-
setAmount
-
subtotalAmount
public EarningRuleLoyaltyOrderItems subtotalAmount(EarningRuleLoyaltyOrderItemsSubtotalAmount subtotalAmount) -
getSubtotalAmount
Get subtotalAmount- Returns:
- subtotalAmount
-
setSubtotalAmount
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
Create an instance of EarningRuleLoyaltyOrderItems given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of EarningRuleLoyaltyOrderItems
- Throws:
IOException- if the JSON string is invalid with respect to EarningRuleLoyaltyOrderItems
-
toJson
Convert an instance of EarningRuleLoyaltyOrderItems to an JSON string- Returns:
- JSON string
-