Struct libstripe::Transfer
[−]
[src]
pub struct Transfer { pub id: String, pub object: String, pub amount: i64, pub amount_reversed: i64, pub balance_transaction: String, pub created: i64, pub currency: Currency, pub description: String, pub destination: String, pub destination_payment: String, pub livemode: bool, pub metadata: HashMap<String, String>, pub reversals: List<BalanceTransaction>, pub reversed: bool, pub source_transaction: Option<String>, pub source_type: TransferSourceType, pub transfer_group: Option<String>, }
Fields
id: String
object: String
amount: i64
amount_reversed: i64
balance_transaction: String
created: i64
currency: Currency
description: String
destination: String
destination_payment: String
livemode: bool
metadata: HashMap<String, String>
reversals: List<BalanceTransaction>
reversed: bool
source_transaction: Option<String>
source_type: TransferSourceType
transfer_group: Option<String>
Methods
impl Transfer
[src]
pub fn create<B: Serialize>(
client: &Client,
param: B
) -> Result<Transfer, Error>
[src]
client: &Client,
param: B
) -> Result<Transfer, Error>
pub fn retrieve<B: Serialize>(
client: &Client,
id: &str
) -> Result<Transfer, Error>
[src]
client: &Client,
id: &str
) -> Result<Transfer, Error>
pub fn update<B: Serialize>(
client: &Client,
id: &str,
param: B
) -> Result<Transfer, Error>
[src]
client: &Client,
id: &str,
param: B
) -> Result<Transfer, Error>
pub fn list<B: Serialize>(
client: &Client,
param: B
) -> Result<List<Transfer>, Error>
[src]
client: &Client,
param: B
) -> Result<List<Transfer>, Error>