mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-28 04:04:55 +08:00
refactor(connector): added amount conversion framework for klarna and change type of amount to MinorUnit for OrderDetailsWithAmount (#4979)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: swangi-kumari <swangi.12015941@lpu.in> Co-authored-by: Swangi Kumari <85639103+swangi-kumari@users.noreply.github.com>
This commit is contained in:
@ -5080,7 +5080,7 @@ pub struct OrderDetailsWithAmount {
|
||||
#[schema(example = 1)]
|
||||
pub quantity: u16,
|
||||
/// the amount per quantity of product
|
||||
pub amount: i64,
|
||||
pub amount: MinorUnit,
|
||||
// Does the order includes shipping
|
||||
pub requires_shipping: Option<bool>,
|
||||
/// The image URL of the product
|
||||
|
||||
Reference in New Issue
Block a user