Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions proto/customer.thrift
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,8 @@ struct Customer {
5: optional domain.ContactInfo contact_info
/** Метаданные Customer (произвольные данные мерчанта) */
6: optional domain.Metadata metadata
/** Внешний идентификатор Customer */
7: optional string external_id
}

/**
Expand Down Expand Up @@ -178,6 +180,8 @@ struct CustomerParams {
2: optional domain.ContactInfo contact_info
/** Метаданные Customer */
3: optional domain.Metadata metadata
/** Внешний идентификатор Customer */
4: optional string external_id
}

/**
Expand Down Expand Up @@ -296,6 +300,15 @@ service CustomerManagement {
2: InvalidRecurrentParent invalid_parent
)

/**
* Получить Customer по external_id и party.
*/
CustomerState GetByExternalID(
1: string external_id,
2: domain.PartyConfigRef party_ref
)
throws (1: CustomerNotFound not_found)

/**
* Удалить Customer (soft delete).
*/
Expand Down
Loading