pub struct FinalizeAmountIssuingAuthorization { /* private fields */ }Expand description
Finalize the amount on an Authorization prior to capture, when the initial authorization was for an estimated amount.
Implementations§
Source§impl FinalizeAmountIssuingAuthorization
impl FinalizeAmountIssuingAuthorization
Sourcepub fn new(
authorization: impl Into<String>,
final_amount: impl Into<i64>,
) -> Self
pub fn new( authorization: impl Into<String>, final_amount: impl Into<i64>, ) -> Self
Construct a new FinalizeAmountIssuingAuthorization.
Sourcepub fn expand(self, expand: impl Into<Vec<String>>) -> Self
pub fn expand(self, expand: impl Into<Vec<String>>) -> Self
Specifies which fields in the response should be expanded.
Sourcepub fn fleet(
self,
fleet: impl Into<FinalizeAmountIssuingAuthorizationFleet>,
) -> Self
pub fn fleet( self, fleet: impl Into<FinalizeAmountIssuingAuthorizationFleet>, ) -> Self
Fleet-specific information for authorizations using Fleet cards.
Sourcepub fn fuel(
self,
fuel: impl Into<FinalizeAmountIssuingAuthorizationFuel>,
) -> Self
pub fn fuel( self, fuel: impl Into<FinalizeAmountIssuingAuthorizationFuel>, ) -> Self
Information about fuel that was purchased with this transaction.
Source§impl FinalizeAmountIssuingAuthorization
impl FinalizeAmountIssuingAuthorization
Sourcepub async fn send<C: StripeClient>(
&self,
client: &C,
) -> Result<<Self as StripeRequest>::Output, C::Err>
pub async fn send<C: StripeClient>( &self, client: &C, ) -> Result<<Self as StripeRequest>::Output, C::Err>
Send the request and return the deserialized response.
Sourcepub fn send_blocking<C: StripeBlockingClient>(
&self,
client: &C,
) -> Result<<Self as StripeRequest>::Output, C::Err>
pub fn send_blocking<C: StripeBlockingClient>( &self, client: &C, ) -> Result<<Self as StripeRequest>::Output, C::Err>
Send the request and return the deserialized response, blocking until completion.
Trait Implementations§
Source§impl Clone for FinalizeAmountIssuingAuthorization
impl Clone for FinalizeAmountIssuingAuthorization
Source§fn clone(&self) -> FinalizeAmountIssuingAuthorization
fn clone(&self) -> FinalizeAmountIssuingAuthorization
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl StripeRequest for FinalizeAmountIssuingAuthorization
impl StripeRequest for FinalizeAmountIssuingAuthorization
Source§type Output = IssuingAuthorization
type Output = IssuingAuthorization
The data returned from the eventual API call.
Source§fn build(&self) -> RequestBuilder
fn build(&self) -> RequestBuilder
Convert the struct into library-agnostic data that can be used by compatible
clients to make API calls.
Source§fn customize(&self) -> CustomizableStripeRequest<Self::Output>
fn customize(&self) -> CustomizableStripeRequest<Self::Output>
Convert to a builder allowing per-request customization.
Auto Trait Implementations§
impl Freeze for FinalizeAmountIssuingAuthorization
impl RefUnwindSafe for FinalizeAmountIssuingAuthorization
impl Send for FinalizeAmountIssuingAuthorization
impl Sync for FinalizeAmountIssuingAuthorization
impl Unpin for FinalizeAmountIssuingAuthorization
impl UnsafeUnpin for FinalizeAmountIssuingAuthorization
impl UnwindSafe for FinalizeAmountIssuingAuthorization
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