mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-03 05:17:02 +08:00
feat(payouts): make payout_type optional in payouts table (#4954)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -14,7 +14,7 @@ pub struct Payouts {
|
||||
pub merchant_id: String,
|
||||
pub customer_id: id_type::CustomerId,
|
||||
pub address_id: String,
|
||||
pub payout_type: storage_enums::PayoutType,
|
||||
pub payout_type: Option<storage_enums::PayoutType>,
|
||||
pub payout_method_id: Option<String>,
|
||||
pub amount: i64,
|
||||
pub destination_currency: storage_enums::Currency,
|
||||
@ -53,7 +53,7 @@ pub struct PayoutsNew {
|
||||
pub merchant_id: String,
|
||||
pub customer_id: id_type::CustomerId,
|
||||
pub address_id: String,
|
||||
pub payout_type: storage_enums::PayoutType,
|
||||
pub payout_type: Option<storage_enums::PayoutType>,
|
||||
pub payout_method_id: Option<String>,
|
||||
pub amount: i64,
|
||||
pub destination_currency: storage_enums::Currency,
|
||||
|
||||
Reference in New Issue
Block a user