OperationResponse

open class OperationResponse(status: String? = null, val customer: CustomerResponse? = null, productList: Any? = null, val recommendations: List<RecommendationResponse>? = null, val customerSegmentations: List<CustomerSegmentationResponse>? = null, val promoCode: PromoCodeResponse? = null, val personalOffers: List<PersonalOfferItemResponse>? = null, val balances: List<BalanceResponse>? = null, val discountCards: List<DiscountCardResponse>? = null, val promoActions: List<PromoActionResponse>? = null, val retailOrderStatistics: RetailOrderStatisticsResponse? = null) : OperationResponseBase

Constructors

Link copied to clipboard
constructor(status: String? = null, customer: CustomerResponse? = null, productList: Any? = null, recommendations: List<RecommendationResponse>? = null, customerSegmentations: List<CustomerSegmentationResponse>? = null, promoCode: PromoCodeResponse? = null, personalOffers: List<PersonalOfferItemResponse>? = null, balances: List<BalanceResponse>? = null, discountCards: List<DiscountCardResponse>? = null, promoActions: List<PromoActionResponse>? = null, retailOrderStatistics: RetailOrderStatisticsResponse? = null)

Properties

Link copied to clipboard
@SerializedName(value = "balances")
val balances: List<BalanceResponse>?
Link copied to clipboard
@SerializedName(value = "customer")
val customer: CustomerResponse?
Link copied to clipboard
@SerializedName(value = "customerSegmentations")
val customerSegmentations: List<CustomerSegmentationResponse>?
Link copied to clipboard
@SerializedName(value = "discountCards")
val discountCards: List<DiscountCardResponse>?
Link copied to clipboard
@SerializedName(value = "personalOffers")
val personalOffers: List<PersonalOfferItemResponse>?
Link copied to clipboard
@SerializedName(value = "promoActions")
val promoActions: List<PromoActionResponse>?
Link copied to clipboard
@SerializedName(value = "promoCode")
val promoCode: PromoCodeResponse?
Link copied to clipboard
@SerializedName(value = "recommendations")
val recommendations: List<RecommendationResponse>?
Link copied to clipboard
@SerializedName(value = "retailOrderStatistics")
val retailOrderStatistics: RetailOrderStatisticsResponse?
Link copied to clipboard
@SerializedName(value = "status")
val status: String?

Functions

Link copied to clipboard

Used for catalog with name productList and its type is CatalogProductListResponse

Link copied to clipboard

Used for product with name productList and its is array of ProductListItemResponse

Link copied to clipboard
open override fun toString(): String