Loyalty models¶
Models of the loyalty (iikoCard) endpoints.
Generated by python -m codegen from the iikoCloud OpenAPI specification. Do not edit by hand.
GetCustomerInfoRequest
module-attribute
¶
GetCustomerInfoRequest = Annotated[
Annotated[GetCustomerInfoByPhoneRequest, Tag("phone")]
| Annotated[
GetCustomerInfoByCardTrackRequest, Tag("cardTrack")
]
| Annotated[
GetCustomerInfoByCardNumberRequest,
Tag("cardNumber"),
]
| Annotated[GetCustomerInfoByEmailRequest, Tag("email")]
| Annotated[GetCustomerInfoByIdRequest, Tag("id")]
| Annotated[GetCustomerInfoRequestBase, Tag(UNKNOWN)],
discriminator(
"type",
"type",
("phone", "cardTrack", "cardNumber", "email", "id"),
),
]
Base class for customer info request.
One of GetCustomerInfoByPhoneRequest, GetCustomerInfoByCardTrackRequest, GetCustomerInfoByCardNumberRequest, GetCustomerInfoByEmailRequest, GetCustomerInfoByIdRequest, selected by type. Values unknown to this library are parsed as GetCustomerInfoRequestBase.
AddCustomerToProgramResponse
¶
AvailableCombo
¶
Bases: IikoModel
Available combo.
group_mapping
class-attribute
instance-attribute
¶
group_mapping: list[ComboGroupMapping] | None = None
Groups contained in combo. If null - there is no suitable product in order yet for that group.
AvailablePayment
¶
Bases: IikoModel
Available payment.
order
class-attribute
instance-attribute
¶
order: int | None = None
Payment order. In case of partial payment, payments with lesser order should be filled first.
wallet_infos
class-attribute
instance-attribute
¶
wallet_infos: list[WalletInfo] | None = None
Wallet infos.
CalculateCheckinRequest
¶
Bases: IikoModel
Request to calculate loyalty operations for order.
applicable_manual_conditions
class-attribute
instance-attribute
¶
Obsolete field. Use request.Order.LoyaltyInfo.ApplicableManualConditions instead.
available_payment_marketing_campaign_ids
class-attribute
instance-attribute
¶
List of identifiers of applied campaigns. Should be empty if no payment method is used.
coupon
class-attribute
instance-attribute
¶
coupon: str | None = None
Obsolete field. Use Order.LoyaltyInfo.Coupon instead. Can be null.
dynamic_discounts
class-attribute
instance-attribute
¶
dynamic_discounts: list[LoyaltyDynamicDiscount] | None = (
None
)
Obsolete field. Use Order.LoyaltyInfo.DynamicDiscounts instead. Can be null..
CalculateCheckinResponse
¶
Bases: IikoModel
Loyalty result for order.
available_payments
class-attribute
instance-attribute
¶
available_payments: list[AvailablePayment] | None = None
Marketing campaigns with available payments.
loyalty_program_results
class-attribute
instance-attribute
¶
loyalty_program_results: (
list[LoyaltyProgramResult] | None
) = None
Loyalty program results.
loyalty_trace
class-attribute
instance-attribute
¶
loyalty_trace: str | None = None
Loyalty trace. Can be null.
validation_warnings
class-attribute
instance-attribute
¶
Warnings about errors, not blocking loyalty calculation.
warnings
class-attribute
instance-attribute
¶
warnings: list[WarningInfo] | None = Field(
default=None, alias="Warnings"
)
Warnings about errors, not blocking loyalty calculation.
CancelHoldMoneyRequest
¶
CertificateCounteragentType
¶
ChangeCategoryForCustomerRequest
¶
ChangeUserBalanceRequest
¶
CheckSmsStatusRequest
¶
CheckSmsStatusResponse
¶
Bases: IikoModel
Check sms status response.
statuses
instance-attribute
¶
statuses: list[SmsSendingStatusInfo]
Information about the status of sending SMS.
ComboGroupMapping
¶
CounterMetric
¶
CounterPeriod
¶
CouponInfo
¶
Bases: IikoModel
Coupon info.
series_name
class-attribute
instance-attribute
¶
series_name: str | None = None
Series name. Can be null.
when_activated
class-attribute
instance-attribute
¶
when_activated: IikoDateTime | None = None
When activated.
CouponInfoRequest
¶
CouponInfoResponse
¶
Bases: IikoModel
Coupon info response.
coupon_info
class-attribute
instance-attribute
¶
coupon_info: list[CouponInfo] | None = None
Coupon info.
CreateOrUpdateCustomerRequest
¶
Bases: IikoModel
Not empty phone or magnetCardTrack or id is required for successful import.
birthday
class-attribute
instance-attribute
¶
birthday: IikoDateTime | None = None
Customer birthday.
card_number
class-attribute
instance-attribute
¶
card_number: str | None = None
Card number. Required if cardTrack set. Can be null.
card_track
class-attribute
instance-attribute
¶
card_track: str | None = None
Card track. Required if cardNumber set. Can be null.
comment
class-attribute
instance-attribute
¶
comment: str | None = None
Customer description and additional data. Can be null.
consent_status
class-attribute
instance-attribute
¶
consent_status: PersonalDataConsentStatus | None = None
Customer consent status.
0 - unknown, 1 - given, 2 - revoked.
employee_id
class-attribute
instance-attribute
¶
employee_id: str | None = None
Employee number or id. Can be null.
is_deleted
class-attribute
instance-attribute
¶
is_deleted: bool | None = None
Customer logical deletion flag.
middle_name
class-attribute
instance-attribute
¶
middle_name: str | None = None
Customer middle name. Can be null.
nullify_empty_fields
class-attribute
instance-attribute
¶
nullify_empty_fields: bool | None = None
If set to true, then empty string values (not null) will overwrite origin guest fields with nulls, otherwise empty fields are ignored.
referrer_id
class-attribute
instance-attribute
¶
referrer_id: str | None = None
Id for referrer guest. Null for old integrations, Guid.Empty - for referrer deletion. Can be null.
sex
class-attribute
instance-attribute
¶
sex: IikoNetUserSex | None = None
Customer sex.
0 - not specified, 1 - male, 2 - female.
should_receive_loyalty_info
class-attribute
instance-attribute
¶
should_receive_loyalty_info: bool | None = None
Customer get loyalty messages (email, sms). If the parameter is not specified for new customers, the value 'true' is used.
should_receive_promo_actions_info
class-attribute
instance-attribute
¶
should_receive_promo_actions_info: bool | None = None
Customer get promo messages (email, sms). If the parameter is not specified for new customers, the value 'true' is used.
CreateOrUpdateCustomerResponse
¶
DeleteCustomersRequest
¶
DeleteCustomersResponse
¶
DeleteMagnetCardRequest
¶
DiscountOperation
¶
Bases: IikoModel
Discount operation.
code
class-attribute
instance-attribute
¶
code: OperationCode | None = None
Operation Type Code.
0 - fixed discount for the entire order, 1 - fixed discount for the item, 2 - free product, 3 - other type of discounts.
FreeProduct
¶
Bases: IikoModel
Free item to be added to order.
size
class-attribute
instance-attribute
¶
Sizes available for that product.
sizes
class-attribute
instance-attribute
¶
sizes: list[FreeProductSize] | None = None
Sizes with IDs available for that product.
FreeProductSize
¶
FreeProductsGroup
¶
Bases: IikoModel
Free item to be added to order.
description_for_user
class-attribute
instance-attribute
¶
description_for_user: str | None = None
Description for user. Can be null.
products
class-attribute
instance-attribute
¶
products: list[FreeProduct] | None = None
Products that should be added to order.
GetByOrganizationIdRequest
¶
GetCategoriesRequest
¶
GetCategoriesResponse
¶
Bases: IikoModel
Get categories response.
guest_categories
class-attribute
instance-attribute
¶
guest_categories: list[GuestCategoryShortInfo] | None = None
Guest categories for organization.
GetCustomerInfoByCardNumberRequest
¶
Bases: GetCustomerInfoRequestBase
Request to get customer by card number.
GetCustomerInfoByCardTrackRequest
¶
Bases: GetCustomerInfoRequestBase
Request to get customer by card track.
GetCustomerInfoByEmailRequest
¶
Bases: GetCustomerInfoRequestBase
Request to get customer by email.
GetCustomerInfoByIdRequest
¶
Bases: GetCustomerInfoRequestBase
Request to get customer by Id.
GetCustomerInfoByPhoneRequest
¶
Bases: GetCustomerInfoRequestBase
Request to get customer by phone number.
GetCustomerInfoRequestBase
¶
GetCustomerInfoResponse
¶
Bases: IikoModel
Get customer info response.
cards
class-attribute
instance-attribute
¶
cards: list[GuestCardInfo] | None = None
Customer's cards.
categories
class-attribute
instance-attribute
¶
categories: list[GuestCategoryShortInfo] | None = None
Customer categories.
consent_status
class-attribute
instance-attribute
¶
consent_status: PersonalDataConsentStatus | None = None
Guest consent status.
0 - unknown, 1 - given, 2 - revoked.
culture_name
class-attribute
instance-attribute
¶
culture_name: str | None = None
Guest culture name. Can be null.
first_order_date
class-attribute
instance-attribute
¶
first_order_date: IikoDateTime | None = None
First order date.
is_deleted
class-attribute
instance-attribute
¶
is_deleted: bool | None = None
Customer marked as deleted.
last_processed_order_date
class-attribute
instance-attribute
¶
last_processed_order_date: IikoDateTime | None = None
Last order date.
last_visited_organization_id
class-attribute
instance-attribute
¶
last_visited_organization_id: str | None = None
Guest last visited organization id.
middle_name
class-attribute
instance-attribute
¶
middle_name: str | None = None
Guest middle name. Can be null.
personal_data_consent_from
class-attribute
instance-attribute
¶
personal_data_consent_from: IikoDateTime | None = None
Guest personal data consent from.
personal_data_consent_to
class-attribute
instance-attribute
¶
personal_data_consent_to: IikoDateTime | None = None
Guest personal data consent to.
personal_data_processing_from
class-attribute
instance-attribute
¶
personal_data_processing_from: IikoDateTime | None = None
Guest personal data processing from.
personal_data_processing_to
class-attribute
instance-attribute
¶
personal_data_processing_to: IikoDateTime | None = None
Guest personal data processing to.
phone
class-attribute
instance-attribute
¶
phone: str | None = None
Main customer's phone. Can be null.
registration_organization_id
class-attribute
instance-attribute
¶
registration_organization_id: str | None = None
Guest registration organization id.
sex
class-attribute
instance-attribute
¶
sex: IikoNetUserSex | None = None
Sex.
0 - not specified, 1 - male, 2 - female.
should_receive_loyalty_info
class-attribute
instance-attribute
¶
should_receive_loyalty_info: bool | None = None
Guest should receive loyalty info.
should_receive_order_status_info
class-attribute
instance-attribute
¶
should_receive_order_status_info: bool | None = None
Guest should receive order status info.
should_receive_promo_actions_info
class-attribute
instance-attribute
¶
should_receive_promo_actions_info: bool | None = None
Customer get promo messages (email, sms). If null - unknown.
user_data
class-attribute
instance-attribute
¶
user_data: str | None = None
Technical user data, customizable by restaurateur. Can be null.
wallet_balances
class-attribute
instance-attribute
¶
wallet_balances: list[GuestBalanceInfo] | None = None
Customer's user wallets. Contains bonus balances of different loyalty programs.
when_registered
class-attribute
instance-attribute
¶
when_registered: IikoDateTime | None = None
Registration date.
GetManualConditionsResponse
¶
Bases: IikoModel
Get manual conditions response.
manual_conditions
class-attribute
instance-attribute
¶
manual_conditions: list[ManualConditionInfo] | None = None
Info about manual conditions.
GetProgramsRequest
¶
GetProgramsResponse
¶
Bases: IikoModel
Get programs response.
programs
class-attribute
instance-attribute
¶
programs: list[LoyaltyProgram] | None = Field(
default=None, alias="Programs"
)
Programs.
GetTransactionsReportByPeriodRequest
¶
GetTransactionsReportByPeriodResponse
¶
GetTransactionsReportByRevisionRequest
¶
GetTransactionsReportByRevisionResponse
¶
Bases: IikoModel
Get transactions report by revision response.
last_revision
class-attribute
instance-attribute
¶
last_revision: int | None = None
Last known transaction revision.
last_transaction_id
class-attribute
instance-attribute
¶
last_transaction_id: str | None = None
Last known transaction id.
transactions
class-attribute
instance-attribute
¶
transactions: (
list[TransportTransactionsReportItem] | None
) = None
Transactions.
GuestBalanceInfo
¶
Bases: IikoModel
Information about guest balance.
type
class-attribute
instance-attribute
¶
type: ProgramType | None = None
Wallet type.
0 - deposit or corporate nutrition, 1 - bonus program, 2 - products program, 3 - discount program, 4 - certificate program.
GuestCardInfo
¶
Bases: IikoModel
Guest card info.
valid_to_date
class-attribute
instance-attribute
¶
valid_to_date: IikoDateTime | None = None
Card valid to date.
GuestCategoryShortInfo
¶
HoldMoneyRequest
¶
HoldMoneyResponse
¶
IikoNetUserSex
¶
Bases: OpenIntEnum
IikoNetUserSex values.
LoyaltyDynamicDiscount
¶
LoyaltyProgram
¶
Bases: IikoModel
Loyalty program.
applied_organizations
class-attribute
instance-attribute
¶
Program applied organizations.
description
class-attribute
instance-attribute
¶
description: str | None = None
Program description. Can be null.
is_exchange_rate_enabled
class-attribute
instance-attribute
¶
is_exchange_rate_enabled: bool | None = None
Exchange rate for bonuses and real currency.
marketing_campaigns
class-attribute
instance-attribute
¶
marketing_campaigns: list[MarketingCampaignInfo] | None = (
None
)
Program marketing campaigns.
notify_about_balance_changes
class-attribute
instance-attribute
¶
notify_about_balance_changes: bool | None = None
Notify customer when balance has changed (sms/push).
program_type
class-attribute
instance-attribute
¶
program_type: ProgramType | None = None
Program type.
0 - deposit or corporate nutrition, 1 - bonus program, 2 - products program, 3 - discount program, 4 - certificate program.
refill_type
class-attribute
instance-attribute
¶
refill_type: RefillType | None = None
Refill type with payment.
service_from
class-attribute
instance-attribute
¶
service_from: IikoDateTime | None = None
Program works since date.
service_to
class-attribute
instance-attribute
¶
service_to: IikoDateTime | None = None
Program works till date.
template_type
class-attribute
instance-attribute
¶
template_type: TemplateType | None = None
Program template type.
0 - None, 1 - BonusProgram, 2 - DiscountProgram, 3 - NthDishProgram, 4 - ManualOrderAnonymousDiscount, 5 - AutoOrderAnonymousDiscount, 6 - AutoDishAnonymousDiscount, 7 - PromotionsProgram, 8 - NthDishPromotionsProgram.
LoyaltyProgramResult
¶
Bases: IikoModel
Loyalty result for order.
available_combo_specifications
class-attribute
instance-attribute
¶
Ids of combo specification available in current order.
available_combos
class-attribute
instance-attribute
¶
available_combos: list[AvailableCombo] | None = None
Partially added combos, available for assembly.
discounts
class-attribute
instance-attribute
¶
discounts: list[DiscountOperation] | None = None
Discount operations applied to order items.
free_products
class-attribute
instance-attribute
¶
free_products: list[FreeProductsGroup] | None = None
Program free products.
marketing_campaign_id
class-attribute
instance-attribute
¶
marketing_campaign_id: str | None = None
Program marketing campaign id.
ManualConditionInfo
¶
MarketingCampaignActionConditionBindingInfo
¶
Bases: IikoModel
Marketing campaign binding info.
actions
class-attribute
instance-attribute
¶
actions: list[MarketingCampaignSettingsInfo] | None = None
Marketing actions.
conditions
class-attribute
instance-attribute
¶
conditions: list[MarketingCampaignSettingsInfo] | None = (
None
)
Marketing conditions.
MarketingCampaignInfo
¶
Bases: IikoModel
Marketing campaign info.
description
class-attribute
instance-attribute
¶
description: str | None = None
Marketing campaign description. Can be null.
guest_registration_action_condition_bindings
class-attribute
instance-attribute
¶
guest_registration_action_condition_bindings: (
list[MarketingCampaignActionConditionBindingInfo] | None
) = None
Conditions and actions that will be checked by guest registration.
is_active
class-attribute
instance-attribute
¶
is_active: bool | None = None
Marketing campaign is active.
name
class-attribute
instance-attribute
¶
name: str | None = None
Loyalty program name. Can be null.
order_action_condition_bindings
class-attribute
instance-attribute
¶
order_action_condition_bindings: (
list[MarketingCampaignActionConditionBindingInfo] | None
) = None
Conditions and actions that will be checked when order is processed.
overdraft_action_condition_bindings
class-attribute
instance-attribute
¶
overdraft_action_condition_bindings: (
list[MarketingCampaignActionConditionBindingInfo] | None
) = None
Conditions and actions that will be checked by overdraft.
period_from
class-attribute
instance-attribute
¶
period_from: IikoDateTime | None = None
Marketing campaign works since date.
period_to
class-attribute
instance-attribute
¶
period_to: IikoDateTime | None = None
Marketing campaign works till date. Null means limitless.
periodic_action_condition_bindings
class-attribute
instance-attribute
¶
periodic_action_condition_bindings: (
list[MarketingCampaignActionConditionBindingInfo] | None
) = None
Conditions and actions that will be checked by schedule.
MarketingCampaignSettingsInfo
¶
NotActivatedCouponResponse
¶
Bases: IikoModel
Not activated coupon response.
not_activated_coupon
class-attribute
instance-attribute
¶
not_activated_coupon: list[NotActivatedCoupon] | None = None
Not activated coupon.
NotificationSendingCapabilityCheckStatus
¶
OperationCode
¶
Bases: OpenIntEnum
Operation's code.
Order
¶
Bases: IikoModel
Order.
cheque_additional_info
class-attribute
instance-attribute
¶
cheque_additional_info: ChequeAdditionalInfo | None = None
Cheque additional information.
combos
class-attribute
instance-attribute
¶
Combos included in order.
complete_before
class-attribute
instance-attribute
¶
complete_before: IikoDateTime | None = None
Order fulfillment date. Date and time must be local for delivery terminal, without time zone (take a look at example). If null, order is urgent and time is calculated based on customer settings, i.e. the shortest delivery time possible. Permissible values: from current day and 60 days on.
customer
class-attribute
instance-attribute
¶
customer: Customer | None = None
Customer.
'Regular' customer:
- can be used only if a customer agrees to take part in the store's loyalty programs
- customer details will be added (updated) to the store's customer database
- benefits (accumulation of rewards, etc.) of active loyalty programs will be made available to the customer
'One-time' customer:
- should be used if a customer does not agree to take part in the store's loyalty programs or an aggregator (external system) does not provide customer details
- customer details will NOT be added to the store's customer database and will be used ONLY to complete the current order
delivery_duration
class-attribute
instance-attribute
¶
delivery_duration: int | None = None
Delivery duration.
Allowed from version 8.8.6.
delivery_point
class-attribute
instance-attribute
¶
delivery_point: DeliveryPoint | None = None
Delivery point details. Not required in case of customer pickup. Otherwise, required.
delivery_zone
class-attribute
instance-attribute
¶
delivery_zone: str | None = None
Name of delivery zone.
Allowed from version 8.8.6.
discounts_info
class-attribute
instance-attribute
¶
discounts_info: DiscountsInfo | None = None
Discounts/surcharges.
external_data
class-attribute
instance-attribute
¶
external_data: list[ExternalData] | None = None
Order external data.
Allowed from version 8.0.6.
external_number
class-attribute
instance-attribute
¶
Order external number.
Allowed from version 8.0.6.
guests
class-attribute
instance-attribute
¶
guests: Guests | None = None
Guest details. Not equal to the customer who makes an order.
id
class-attribute
instance-attribute
¶
id: str | None = None
Order ID. Must be unique. If sent null, it generates automatically on iikoTransport side.
loyalty_info
class-attribute
instance-attribute
¶
loyalty_info: LoyaltyInfo | None = None
Information about Loyalty app.
marketing_source_id
class-attribute
instance-attribute
¶
marketing_source_id: str | None = None
Marketing source (advertisement) ID.
Can be obtained by /api/1/marketing_sources operation.
operator_id
class-attribute
instance-attribute
¶
operator_id: str | None = None
Operator ID.
Allowed from version 7.6.3.
order_service_type
class-attribute
instance-attribute
¶
order_service_type: DeliveryServiceType | None = None
Order service type. Only one of the fields must be defined: orderTypeId or orderServiceType.
Allowed from version 7.0.3.
order_type_id
class-attribute
instance-attribute
¶
order_type_id: str | None = None
Order type ID.
Can be obtained by /api/1/deliveries/order_types operation.
Only one of the fields must be defined: orderTypeId or orderServiceType.
payments
class-attribute
instance-attribute
¶
Order payment components.
Type LoyaltyCard allowed from version 7.1.5.
phone
class-attribute
instance-attribute
¶
Telephone number. Must begin with symbol "+" and must be at least 8 digits.
phone_extension
class-attribute
instance-attribute
¶
Extension telephone number. Must contain only digits and have length from 1 to 10 symbols.
Allowed from version 9.2.5.
price_category_id
class-attribute
instance-attribute
¶
price_category_id: str | None = None
Price category id of the order.
Can be obtained by /api/2/menu operation.
Allowed from version 9.0.5.
source_key
class-attribute
instance-attribute
¶
source_key: str | None = None
The string key (marker) of the source (partner - api user) that created the order. Needed to limit the visibility of orders for external integration.
tips
class-attribute
instance-attribute
¶
tips: list[TipsPayment] | None = None
Order tips components.
PersonalDataConsentStatus
¶
Bases: OpenIntEnum
PersonalDataConsentStatus values.
ProgramType
¶
Bases: OpenIntEnum
Corporate program type.
RefillType
¶
RestoreCustomersRequest
¶
RestoreCustomersResponse
¶
SendSmsRequest
¶
SendSmsResponse
¶
SeriesWithNotActivatedCoupons
¶
SeriesWithNotActivatedCouponsRequest
¶
SeriesWithNotActivatedCouponsResponse
¶
Bases: IikoModel
Series with not activated coupons response.
series_with_not_activated_coupons
class-attribute
instance-attribute
¶
series_with_not_activated_coupons: (
list[SeriesWithNotActivatedCoupons] | None
) = None
Series with not activated coupons.
SmsSendingPossibilityRequest
¶
SmsSendingPossibilityResponse
¶
Bases: IikoModel
Sms sending possibility response.
available_sms_count
class-attribute
instance-attribute
¶
available_sms_count: int | None = None
Available sms count.
status
class-attribute
instance-attribute
¶
status: NotificationSendingCapabilityCheckStatus | None = (
None
)
Notification sending capability check status.
SmsSendingStatus
¶
SmsSendingStatusInfo
¶
TemplateType
¶
Bases: OpenIntEnum
TemplateType values.
AUTO_DISH_ANONYMOUS_DISCOUNT
class-attribute
instance-attribute
¶
AutoDishAnonymousDiscount.
AUTO_ORDER_ANONYMOUS_DISCOUNT
class-attribute
instance-attribute
¶
AutoOrderAnonymousDiscount.
MANUAL_ORDER_ANONYMOUS_DISCOUNT
class-attribute
instance-attribute
¶
ManualOrderAnonymousDiscount.
NTH_DISH_PROMOTIONS_PROGRAM
class-attribute
instance-attribute
¶
NthDishPromotionsProgram.
TransactionType
¶
TransportTransactionsCertificateReportItem
¶
TransportTransactionsCouponReportItem
¶
TransportTransactionsReportItem
¶
Bases: IikoModel
Transactions report item.
api_client_login
class-attribute
instance-attribute
¶
api_client_login: str | None = None
Api client login. Can be null.
balance_after
class-attribute
instance-attribute
¶
balance_after: Decimal | None = None
Balance after.
balance_before
class-attribute
instance-attribute
¶
balance_before: Decimal | None = None
Balance before.
block_reason
class-attribute
instance-attribute
¶
block_reason: str | None = None
Block reason. Can be null.
certificate
class-attribute
instance-attribute
¶
certificate: (
TransportTransactionsCertificateReportItem | None
) = None
Certificate.
counteragent
class-attribute
instance-attribute
¶
counteragent: str | None = None
Counteragent. Can be null.
counteragent_type
class-attribute
instance-attribute
¶
counteragent_type: CertificateCounteragentType | None = None
Counteragent type.
counteragent_type_name
class-attribute
instance-attribute
¶
counteragent_type_name: str | None = None
Counteragent type name. Can be null.
coupon
class-attribute
instance-attribute
¶
coupon: TransportTransactionsCouponReportItem | None = None
Coupon.
emitent_name
class-attribute
instance-attribute
¶
emitent_name: str | None = None
Emitent name. Can be null.
loyalty_user
class-attribute
instance-attribute
¶
loyalty_user: str | None = None
Loyalty user. Can be null.
marketing_campaign_id
class-attribute
instance-attribute
¶
marketing_campaign_id: str | None = None
Marketing campaign id.
organization_id
class-attribute
instance-attribute
¶
organization_id: str | None = None
Organization id.
pos_balance_before
class-attribute
instance-attribute
¶
pos_balance_before: Decimal | None = None
Pos balance before.
terminal_group_id
class-attribute
instance-attribute
¶
terminal_group_id: str | None = None
Terminal group id.
when_created
class-attribute
instance-attribute
¶
when_created: IikoDateTime | None = None
When created. In UTC.
when_created_order
class-attribute
instance-attribute
¶
when_created_order: IikoDateTime | None = None
When created order. In UTC.
Upsale
¶
Bases: IikoModel
user tip.
description_for_user
class-attribute
instance-attribute
¶
description_for_user: str | None = None
Description for user.
product_codes
class-attribute
instance-attribute
¶
Codes of products that suggested to be added to order.
products
class-attribute
instance-attribute
¶
products: list[UpsaleProduct] | None = None
Products that suggested to be added to order.