inttegro 0.8.0

Official server-side Rust SDK for Inttegro
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Generated, typed Inttegro domain or request value. Do not edit manually.

use crate::{AmountParams, RefundReason};
use serde::{Deserialize, Serialize};

/// Typed Inttegro request parameters.
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct CreateRefundLineItemInput {
    #[serde(default, skip_serializing_if = "Option::is_none")]
    pub reason: Option<RefundReason>,
    #[serde(default, skip_serializing_if = "Option::is_none")]
    pub reason_details: Option<String>,
    pub order_line_item_id: String,
    pub refund_amount: AmountParams,
}