Skip to content

Commit

Permalink
Rename payment authorization fields to camelCase on serialization
Browse files Browse the repository at this point in the history
  • Loading branch information
legendofa committed May 10, 2024
1 parent 5e7a26c commit cb134e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/payment_authorization.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ use crate::mutation_input_structs::PaymentAuthorizationInput;
/// This datatype can be extended with different payment authorization formats.
/// The conversion implementation needs to be adapted accordingly.
#[derive(Debug, Serialize, Deserialize, PartialEq, Clone)]
#[serde(rename_all = "camelCase")]
pub enum PaymentAuthorization {
/// CVC/CVV number of 3-4 digits.
CVC(u16),
Expand Down

0 comments on commit cb134e2

Please sign in to comment.