Class ProductUpgradeLineItem
java.lang.Object
com.microsoft.store.partnercenter.models.productupgrades.ProductUpgradeLineItem
public class ProductUpgradeLineItem extends Object
Represents the product upgrade line item.
-
Constructor Summary
Constructors Constructor Description ProductUpgradeLineItem() -
Method Summary
Modifier and Type Method Description ProductUpgradeErrorDetailgetErrorDetails()Gets the error detail for the product upgrade.ProductUpgradeDetailgetSourceProduct()Gets the product being upgraded.StringgetStatus()Gets the status for the product upgrade.ProductUpgradeDetailgetTargetProduct()Gets the target product for the upgrade.org.joda.time.DateTimegetUpgradedDate()Gets the date the product was upgraded.voidsetErrorDetails(ProductUpgradeErrorDetail value)Sets the error detail for the product upgrade.voidsetSourceProduct(ProductUpgradeDetail value)Sets the product being upgraded.voidsetStatus(String value)Sets the status for the product upgrade.voidsetTargetProduct(ProductUpgradeDetail value)Sets the target product for the upgrade.voidsetUpgradedDate(org.joda.time.DateTime value)Sets the date the product was upgraded.
-
Constructor Details
-
ProductUpgradeLineItem
public ProductUpgradeLineItem()
-
-
Method Details
-
getErrorDetails
Gets the error detail for the product upgrade.- Returns:
- The error detail for the product upgrade.
-
setErrorDetails
Sets the error detail for the product upgrade.- Parameters:
value- The error detail for the product upgrade.
-
getSourceProduct
Gets the product being upgraded.- Returns:
- The product being upgraded.
-
setSourceProduct
Sets the product being upgraded.- Parameters:
value- The product being upgraded.
-
getStatus
Gets the status for the product upgrade.- Returns:
- The status for the product upgrade.
-
setStatus
Sets the status for the product upgrade.- Parameters:
value- The status for the product upgrade.
-
getTargetProduct
Gets the target product for the upgrade.- Returns:
- The target product for the upgrade.
-
setTargetProduct
Sets the target product for the upgrade.- Parameters:
value- The target product for the upgrade.
-
getUpgradedDate
public org.joda.time.DateTime getUpgradedDate()Gets the date the product was upgraded.- Returns:
- The date the product was upgraded.
-
setUpgradedDate
public void setUpgradedDate(org.joda.time.DateTime value)Sets the date the product was upgraded.- Parameters:
value- The date the product was upgraded.
-