mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-01 19:42:27 +08:00
feat(vsaas): enable onboarding of Standard Merchant Accounts in Platform Organization (#8231)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -6,7 +6,9 @@ use std::{
|
||||
num::{ParseFloatError, TryFromIntError},
|
||||
};
|
||||
|
||||
pub use accounts::{MerchantAccountType, MerchantProductType, OrganizationType};
|
||||
pub use accounts::{
|
||||
MerchantAccountRequestType, MerchantAccountType, MerchantProductType, OrganizationType,
|
||||
};
|
||||
pub use payments::ProductType;
|
||||
use serde::{Deserialize, Serialize};
|
||||
pub use ui::*;
|
||||
|
||||
@ -70,3 +70,25 @@ pub enum OrganizationType {
|
||||
Standard,
|
||||
Platform,
|
||||
}
|
||||
|
||||
#[derive(
|
||||
Clone,
|
||||
Copy,
|
||||
Debug,
|
||||
Default,
|
||||
Eq,
|
||||
PartialEq,
|
||||
serde::Deserialize,
|
||||
serde::Serialize,
|
||||
strum::Display,
|
||||
strum::EnumString,
|
||||
ToSchema,
|
||||
)]
|
||||
#[router_derive::diesel_enum(storage_type = "text")]
|
||||
#[strum(serialize_all = "snake_case")]
|
||||
#[serde(rename_all = "snake_case")]
|
||||
pub enum MerchantAccountRequestType {
|
||||
#[default]
|
||||
Standard,
|
||||
Connected,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user