Skip to content

Commit

Permalink
feat(pm_list): add required field info for crypto pay (#1655)
Browse files Browse the repository at this point in the history
  • Loading branch information
prasunna09 authored Jul 10, 2023
1 parent 8939d78 commit 6d4943d
Show file tree
Hide file tree
Showing 3 changed files with 277 additions and 132 deletions.
14 changes: 14 additions & 0 deletions crates/api_models/src/enums.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1027,6 +1027,20 @@ pub struct UnresolvedResponseReason {
#[serde(rename_all = "snake_case")]
#[strum(serialize_all = "snake_case")]
pub enum FieldType {
UserFullName,
UserEmailAddress,
UserPhoneNumber,
UserCountry { options: Vec<String> },
UserAddressline1,
UserAddressline2,
UserAddressCity,
UserAddressPincode,
UserAddressState,
UserAddressCountry,
UserBlikCode,
FieldsComplete,
UserBillingName,
UserBank,
Text,
DropDown { options: Vec<String> },
}
Expand Down
Loading

0 comments on commit 6d4943d

Please sign in to comment.