dodo_payments 0.1.1

This is Unoffical SDK of dodopayments.com
Documentation
1
2
3
4
5
6
7
8
use serde::{Deserialize, Serialize};
use serde_valid::Validate;

#[derive(Debug, Serialize, Deserialize, Validate)]
pub struct GetLineItemsConfig {
    #[validate(min_length = 1)]
    pub payment_id: String,
}