pub struct RefundCharge { /* private fields */ }Expand description
支払い済みとなった処理を返金します。全額返金、及び amount を指定することで金額の部分返金を行うことができます。また確定していない支払いも取り消すことができますが amount を指定して部分返金をすることはできません。.
なお返金可能な期限につきましては売上作成より180日以内となります。
Implementations§
Source§impl RefundCharge
impl RefundCharge
Source§impl RefundCharge
impl RefundCharge
Sourcepub async fn send<C: PayjpClient>(
&self,
client: &C,
) -> Result<<Self as PayjpRequest>::Output, C::Err>
pub async fn send<C: PayjpClient>( &self, client: &C, ) -> Result<<Self as PayjpRequest>::Output, C::Err>
Send the request and return the deserialized response.
Sourcepub fn send_blocking<C: BlockingClient>(
&self,
client: &C,
) -> Result<<Self as PayjpRequest>::Output, C::Err>
pub fn send_blocking<C: BlockingClient>( &self, client: &C, ) -> Result<<Self as PayjpRequest>::Output, C::Err>
Send the request and return the deserialized response, blocking until completion.
Trait Implementations§
Source§impl Clone for RefundCharge
impl Clone for RefundCharge
Source§fn clone(&self) -> RefundCharge
fn clone(&self) -> RefundCharge
Returns a duplicate 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 moreSource§impl Debug for RefundCharge
impl Debug for RefundCharge
Source§impl PayjpRequest for RefundCharge
impl PayjpRequest for RefundCharge
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) -> CustomizablePayjpRequest<Self::Output>
fn customize(&self) -> CustomizablePayjpRequest<Self::Output>
Convert to a builder allowing per-request customization.
Auto Trait Implementations§
impl Freeze for RefundCharge
impl RefUnwindSafe for RefundCharge
impl Send for RefundCharge
impl Sync for RefundCharge
impl Unpin for RefundCharge
impl UnwindSafe for RefundCharge
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