public class SyncProduct extends SyncEntity<ProductInfo>
Modifier and Type | Field and Description |
---|---|
private byte[] |
icon |
private SyncTax |
tax |
Constructor and Description |
---|
SyncProduct(ProductInfo info) |
SyncProduct(ProductInfo info,
boolean synced) |
SyncProduct(ProductInfo info,
SyncTax tax) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getPictureBytes()
This method is for testing purposes only (it is used in unit tests and in integration tests).
|
InputStream |
getPictureInputStream() |
SyncTax |
getTax() |
void |
setPictureBytes(byte[] buf) |
void |
setTax(SyncTax tax) |
private byte[] icon
private SyncTax tax
public SyncProduct(ProductInfo info)
public SyncProduct(ProductInfo info, boolean synced)
public SyncProduct(ProductInfo info, SyncTax tax)
public InputStream getPictureInputStream()
public void setPictureBytes(byte[] buf)
public byte[] getPictureBytes()
This method is for testing purposes only (it is used in unit tests and in integration tests). Actual sync helpers (and thus sync algorithm) does not use it.
public SyncTax getTax()
public void setTax(SyncTax tax)
Copyright © 2016. All rights reserved.