public class CatalogObject extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CatalogObject.Builder
Class to build instances of
CatalogObject. |
| Constructor and Description |
|---|
CatalogObject(String type,
String id,
String updatedAt,
Long version,
Boolean isDeleted,
Map<String,CatalogCustomAttributeValue> customAttributeValues,
List<CatalogV1Id> catalogV1Ids,
Boolean presentAtAllLocations,
List<String> presentAtLocationIds,
List<String> absentAtLocationIds,
CatalogItem itemData,
CatalogCategory categoryData,
CatalogItemVariation itemVariationData,
CatalogTax taxData,
CatalogDiscount discountData,
CatalogModifierList modifierListData,
CatalogModifier modifierData,
CatalogTimePeriod timePeriodData,
CatalogProductSet productSetData,
CatalogPricingRule pricingRuleData,
CatalogImage imageData,
CatalogMeasurementUnit measurementUnitData,
CatalogSubscriptionPlan subscriptionPlanData,
CatalogItemOption itemOptionData,
CatalogItemOptionValue itemOptionValueData,
CatalogCustomAttributeDefinition customAttributeDefinitionData,
CatalogQuickAmountsSettings quickAmountsSettingsData)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<String> |
getAbsentAtLocationIds()
Getter for AbsentAtLocationIds.
|
List<CatalogV1Id> |
getCatalogV1Ids()
Getter for CatalogV1Ids.
|
CatalogCategory |
getCategoryData()
Getter for CategoryData.
|
CatalogCustomAttributeDefinition |
getCustomAttributeDefinitionData()
Getter for CustomAttributeDefinitionData.
|
Map<String,CatalogCustomAttributeValue> |
getCustomAttributeValues()
Getter for CustomAttributeValues.
|
CatalogDiscount |
getDiscountData()
Getter for DiscountData.
|
String |
getId()
Getter for Id.
|
CatalogImage |
getImageData()
Getter for ImageData.
|
Boolean |
getIsDeleted()
Getter for IsDeleted.
|
CatalogItem |
getItemData()
Getter for ItemData.
|
CatalogItemOption |
getItemOptionData()
Getter for ItemOptionData.
|
CatalogItemOptionValue |
getItemOptionValueData()
Getter for ItemOptionValueData.
|
CatalogItemVariation |
getItemVariationData()
Getter for ItemVariationData.
|
CatalogMeasurementUnit |
getMeasurementUnitData()
Getter for MeasurementUnitData.
|
CatalogModifier |
getModifierData()
Getter for ModifierData.
|
CatalogModifierList |
getModifierListData()
Getter for ModifierListData.
|
Boolean |
getPresentAtAllLocations()
Getter for PresentAtAllLocations.
|
List<String> |
getPresentAtLocationIds()
Getter for PresentAtLocationIds.
|
CatalogPricingRule |
getPricingRuleData()
Getter for PricingRuleData.
|
CatalogProductSet |
getProductSetData()
Getter for ProductSetData.
|
CatalogQuickAmountsSettings |
getQuickAmountsSettingsData()
Getter for QuickAmountsSettingsData.
|
CatalogSubscriptionPlan |
getSubscriptionPlanData()
Getter for SubscriptionPlanData.
|
CatalogTax |
getTaxData()
Getter for TaxData.
|
CatalogTimePeriod |
getTimePeriodData()
Getter for TimePeriodData.
|
String |
getType()
Getter for Type.
|
String |
getUpdatedAt()
Getter for UpdatedAt.
|
Long |
getVersion()
Getter for Version.
|
int |
hashCode() |
CatalogObject.Builder |
toBuilder()
Builds a new
CatalogObject.Builder object. |
String |
toString()
Converts this CatalogObject into string format.
|
public CatalogObject(String type, String id, String updatedAt, Long version, Boolean isDeleted, Map<String,CatalogCustomAttributeValue> customAttributeValues, List<CatalogV1Id> catalogV1Ids, Boolean presentAtAllLocations, List<String> presentAtLocationIds, List<String> absentAtLocationIds, CatalogItem itemData, CatalogCategory categoryData, CatalogItemVariation itemVariationData, CatalogTax taxData, CatalogDiscount discountData, CatalogModifierList modifierListData, CatalogModifier modifierData, CatalogTimePeriod timePeriodData, CatalogProductSet productSetData, CatalogPricingRule pricingRuleData, CatalogImage imageData, CatalogMeasurementUnit measurementUnitData, CatalogSubscriptionPlan subscriptionPlanData, CatalogItemOption itemOptionData, CatalogItemOptionValue itemOptionValueData, CatalogCustomAttributeDefinition customAttributeDefinitionData, CatalogQuickAmountsSettings quickAmountsSettingsData)
type - String value for type.id - String value for id.updatedAt - String value for updatedAt.version - Long value for version.isDeleted - Boolean value for isDeleted.customAttributeValues - Map of String, value for customAttributeValues.catalogV1Ids - List of CatalogV1Id value for catalogV1Ids.presentAtAllLocations - Boolean value for presentAtAllLocations.presentAtLocationIds - List of String value for presentAtLocationIds.absentAtLocationIds - List of String value for absentAtLocationIds.itemData - CatalogItem value for itemData.categoryData - CatalogCategory value for categoryData.itemVariationData - CatalogItemVariation value for itemVariationData.taxData - CatalogTax value for taxData.discountData - CatalogDiscount value for discountData.modifierListData - CatalogModifierList value for modifierListData.modifierData - CatalogModifier value for modifierData.timePeriodData - CatalogTimePeriod value for timePeriodData.productSetData - CatalogProductSet value for productSetData.pricingRuleData - CatalogPricingRule value for pricingRuleData.imageData - CatalogImage value for imageData.measurementUnitData - CatalogMeasurementUnit value for measurementUnitData.subscriptionPlanData - CatalogSubscriptionPlan value for subscriptionPlanData.itemOptionData - CatalogItemOption value for itemOptionData.itemOptionValueData - CatalogItemOptionValue value for itemOptionValueData.customAttributeDefinitionData - CatalogCustomAttributeDefinition value for
customAttributeDefinitionData.quickAmountsSettingsData - CatalogQuickAmountsSettings value for
quickAmountsSettingsData.public String getType()
public String getId()
public String getUpdatedAt()
public Long getVersion()
public Boolean getIsDeleted()
public Map<String,CatalogCustomAttributeValue> getCustomAttributeValues()
public List<CatalogV1Id> getCatalogV1Ids()
public Boolean getPresentAtAllLocations()
public List<String> getPresentAtLocationIds()
public List<String> getAbsentAtLocationIds()
public CatalogItem getItemData()
public CatalogCategory getCategoryData()
public CatalogItemVariation getItemVariationData()
public CatalogTax getTaxData()
public CatalogDiscount getDiscountData()
public CatalogModifierList getModifierListData()
public CatalogModifier getModifierData()
public CatalogTimePeriod getTimePeriodData()
public CatalogProductSet getProductSetData()
public CatalogPricingRule getPricingRuleData()
public CatalogImage getImageData()
public CatalogMeasurementUnit getMeasurementUnitData()
public CatalogSubscriptionPlan getSubscriptionPlanData()
public CatalogItemOption getItemOptionData()
public CatalogItemOptionValue getItemOptionValueData()
public CatalogCustomAttributeDefinition getCustomAttributeDefinitionData()
public CatalogQuickAmountsSettings getQuickAmountsSettingsData()
public String toString()
public CatalogObject.Builder toBuilder()
CatalogObject.Builder object.
Creates the instance with the state of the current model.CatalogObject.Builder objectCopyright © 2022. All rights reserved.