pub struct UpdatePaymentsParams {
pub account_sid: String,
pub call_sid: String,
pub sid: String,
pub idempotency_key: String,
pub status_callback: String,
pub capture: Option<String>,
pub status: Option<String>,
}
Expand description
struct for passing parameters to the method update_payments
Fields§
§account_sid: String
The SID of the Account that will update the resource.
call_sid: String
The SID of the call that will update the resource. This should be the same call sid that was used to create payments resource.
sid: String
The SID of Payments session that needs to be updated.
idempotency_key: String
A unique token that will be used to ensure that multiple API calls with the same information do not result in multiple transactions. This should be a unique string value per API call and can be a randomly generated.
status_callback: String
Provide an absolute or relative URL to receive status updates regarding your Pay session. Read more about the Update and Complete/Cancel POST requests.
capture: Option<String>
§status: Option<String>
Trait Implementations§
Source§impl Clone for UpdatePaymentsParams
impl Clone for UpdatePaymentsParams
Source§fn clone(&self) -> UpdatePaymentsParams
fn clone(&self) -> UpdatePaymentsParams
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for UpdatePaymentsParams
impl RefUnwindSafe for UpdatePaymentsParams
impl Send for UpdatePaymentsParams
impl Sync for UpdatePaymentsParams
impl Unpin for UpdatePaymentsParams
impl UnwindSafe for UpdatePaymentsParams
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more