OrderChargeDetail
struct OrderChargeDetail
Order charge detail
Fields
Total charges amount
Total charges amount
Total charges amount
Order charge items
Order charge items
Order charge items
Methods
new
pub fn new(inner: OrderChargeDetail): OrderChargeDetail
[src]
fn new(inner: _OrderChargeDetail): OrderChargeDetail {
let items: [OrderChargeItem] = [];
for (let _item in inner.items) {
items.push(OrderChargeItem.new(_item));
}
return OrderChargeDetail {
total_amount: inner.total_amount,
currency: inner.currency,
items,
};
}
new
pub fn new(inner: OrderChargeDetail): OrderChargeDetail
[src]
fn new(inner: _OrderChargeDetail): OrderChargeDetail {
let items: [OrderChargeItem] = [];
for (let _item in inner.items) {
items.push(OrderChargeItem.new(_item));
}
return OrderChargeDetail {
total_amount: inner.total_amount,
currency: inner.currency,
items,
};
}