mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 00:49:42 +08:00
refactor(connector): added amount framework to paypal, payouts and routing (#4865)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: Hrithikesh <61539176+hrithikesh026@users.noreply.github.com> Co-authored-by: Narayan Bhat <narayan.bhat@juspay.in>
This commit is contained in:
@ -605,12 +605,12 @@ pub struct RequestPaymentMethodTypes {
|
||||
|
||||
/// Minimum amount supported by the processor. To be represented in the lowest denomination of the target currency (For example, for USD it should be in cents)
|
||||
#[schema(example = 1)]
|
||||
pub minimum_amount: Option<i32>,
|
||||
pub minimum_amount: Option<MinorUnit>,
|
||||
|
||||
/// Maximum amount supported by the processor. To be represented in the lowest denomination of
|
||||
/// the target currency (For example, for USD it should be in cents)
|
||||
#[schema(example = 1313)]
|
||||
pub maximum_amount: Option<i32>,
|
||||
pub maximum_amount: Option<MinorUnit>,
|
||||
|
||||
/// Boolean to enable recurring payments / mandates. Default is true.
|
||||
#[schema(default = true, example = false)]
|
||||
|
||||
Reference in New Issue
Block a user