1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
use params::{List, Timestamp}; use resources::{Currency, OrderItem}; /// The resource representing a Stripe order return. /// /// For more details see https://stripe.com/docs/api#order_return_object. #[derive(Debug, Deserialize)] pub struct OrderReturn { pub id: String, pub object: String, pub amount: u64, pub created: Timestamp, pub currency: Currency, pub items: List<OrderItem>, pub livemode: bool, pub order: String, pub refund: String, }