We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7013c24 commit aa29c5dCopy full SHA for aa29c5d
src/decider/gatewaydecider/types.rs
@@ -968,7 +968,7 @@ pub struct PaymentInfo {
968
currency: Currency,
969
country: Option<CountryISO2>,
970
customer_id: Option<ETCu::CustomerId>,
971
- #[serde(deserialize_with = "deserialize_optional_udfs_to_hashmap")]
+ #[serde(default, deserialize_with = "deserialize_optional_udfs_to_hashmap")]
972
udfs: Option<UDFs>,
973
preferred_gateway: Option<String>,
974
payment_type: TxnObjectType,
0 commit comments