public class OrderLineResponse extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
OrderLineResponse.OrderLineResponseBuilder |
| Constructor and Description |
|---|
OrderLineResponse() |
OrderLineResponse(String resource,
String id,
OrderLineType type,
String name,
OrderStatus status,
boolean isCancelable,
int quantity,
int quantityShipped,
Amount amountShipped,
int quantityRefunded,
Amount amountRefunded,
int quantityCanceled,
Amount amountCanceled,
int shippableQuantity,
int refundableQuantity,
int cancelableQuantity,
Amount unitPrice,
Optional<Amount> discountAmount,
Amount totalAmount,
String vatRate,
Amount vatAmount,
Optional<String> sku,
Date createdAt,
OrderLineLinks links) |
public OrderLineResponse(String resource, String id, OrderLineType type, String name, OrderStatus status, boolean isCancelable, int quantity, int quantityShipped, Amount amountShipped, int quantityRefunded, Amount amountRefunded, int quantityCanceled, Amount amountCanceled, int shippableQuantity, int refundableQuantity, int cancelableQuantity, Amount unitPrice, Optional<Amount> discountAmount, Amount totalAmount, String vatRate, Amount vatAmount, Optional<String> sku, Date createdAt, OrderLineLinks links)
public OrderLineResponse()
public static OrderLineResponse.OrderLineResponseBuilder builder()
public String getResource()
public String getId()
public OrderLineType getType()
public String getName()
public OrderStatus getStatus()
public boolean isCancelable()
public int getQuantity()
public int getQuantityShipped()
public Amount getAmountShipped()
public int getQuantityRefunded()
public Amount getAmountRefunded()
public int getQuantityCanceled()
public Amount getAmountCanceled()
public int getShippableQuantity()
public int getRefundableQuantity()
public int getCancelableQuantity()
public Amount getUnitPrice()
public Amount getTotalAmount()
public String getVatRate()
public Amount getVatAmount()
public Date getCreatedAt()
public OrderLineLinks getLinks()
public void setResource(String resource)
public void setId(String id)
public void setType(OrderLineType type)
public void setName(String name)
public void setStatus(OrderStatus status)
public void setCancelable(boolean isCancelable)
public void setQuantity(int quantity)
public void setQuantityShipped(int quantityShipped)
public void setAmountShipped(Amount amountShipped)
public void setQuantityRefunded(int quantityRefunded)
public void setAmountRefunded(Amount amountRefunded)
public void setQuantityCanceled(int quantityCanceled)
public void setAmountCanceled(Amount amountCanceled)
public void setShippableQuantity(int shippableQuantity)
public void setRefundableQuantity(int refundableQuantity)
public void setCancelableQuantity(int cancelableQuantity)
public void setUnitPrice(Amount unitPrice)
public void setTotalAmount(Amount totalAmount)
public void setVatRate(String vatRate)
public void setVatAmount(Amount vatAmount)
public void setCreatedAt(Date createdAt)
public void setLinks(OrderLineLinks links)
protected boolean canEqual(Object other)
Copyright © 2020. All rights reserved.