ReadonlycartMaps to DiscountCode.cartDiscounts. If the referenced CartDiscounts do not exist, the state of the ImportOperation will be set to unresolved until the referenced CartDiscounts are created.
Optional ReadonlycartMaps to DiscountCode.cartPredicate.
ReadonlycodeMaps to DiscountCode.code. This value cannot be updated. Attempting to update this value will result in an InvalidFieldsUpdate error.
Optional ReadonlycustomMaps to DiscountCode.custom.
Optional ReadonlydescriptionMaps to DiscountCode.description.
Optional ReadonlygroupsMaps to DiscountCode.groups.
ReadonlyisMaps to DiscountCode.isActive.
ReadonlykeyUser-defined unique identifier. If a DiscountCode with this key exists, it is updated with the imported data.
Optional ReadonlymaxMaps to DiscountCode.maxApplications.
Optional ReadonlymaxMaps to DiscountCode.maxApplicationsPerCustomer.
Optional ReadonlynameMaps to DiscountCode.name.
Optional ReadonlyvalidMaps to DiscountCode.validFrom.
Optional ReadonlyvalidMaps to DiscountCode.validUntil.
Represents the data used to import a DiscountCode. Once imported, this data is persisted as a DiscountCode in the Project.