dodo_payments 0.1.0

This is Unoffical SDK of dodopayments.com
Documentation
1
2
3
4
5
6
7
8
9
10
use super::super::common::structs::PartialRefundItem;
use serde::{Deserialize, Serialize};

#[serde_with::skip_serializing_none]
#[derive(Debug, Serialize, Deserialize, Clone)]
pub struct CreateRefundConfig {
    pub payment_id: String,
    pub items: Option<Vec<PartialRefundItem>>,
    pub reason: Option<String>,
}