AlipayRefundQueryResponse

Struct AlipayRefundQueryResponse 

Source
pub struct AlipayRefundQueryResponse {
    pub out_trade_no: Option<String>,
    pub trade_no: Option<String>,
    pub out_request_no: Option<String>,
    pub total_amount: Option<f64>,
    pub refund_amount: Option<f64>,
    pub refund_status: Option<String>,
    pub refund_royaltys: Option<Vec<RefundRoyaltyResult>>,
    pub gmt_refund_pay: Option<String>,
    pub refund_detail_item_list: Option<Vec<TradeFundBill>>,
    pub send_back_fee: Option<String>,
    pub deposit_back_info: Option<DepositBackInfo>,
}

Fields§

§out_trade_no: Option<String>

商户网站唯一订单号

§trade_no: Option<String>

该交易在支付宝系统中的交易流水号。最长64位。

§out_request_no: Option<String>

本笔退款对应的退款请求号

§total_amount: Option<f64>

该笔退款所对应的交易的订单金额

§refund_amount: Option<f64>

本次退款请求,对应的退款金额

§refund_status: Option<String>

退款状态。枚举值:

REFUND_SUCCESS 退款处理成功;
未返回该字段表示退款请求未收到或者退款失败;
注:如果退款查询发起时间早于退款时间,或者间隔退款发起时间太短,可能出现退款查询时还没处理成功,后面又处理成功的情况,建议商户在退款发起后间隔10秒以上再发起退款查询请求。
§refund_royaltys: Option<Vec<RefundRoyaltyResult>>

退分账明细信息 。

§gmt_refund_pay: Option<String>

退款时间。默认不返回该信息,需要在入参的query_options中指定“gmt_refund_pay“值时才返回该字段信息。

§refund_detail_item_list: Option<Vec<TradeFundBill>>

退款使用的资金渠道。 只有在签约中指定需要返回资金明细,或者入参的query_options中指定时才返回该字段信息。

§send_back_fee: Option<String>

本次商户实际退回金额。 说明:如需获取该值,需在入参query_options中传入 refund_detail_item_list。

§deposit_back_info: Option<DepositBackInfo>

银行卡冲退信息; 默认不返回该信息,需要在入参的query_options中指定“deposit_back_info“值时才返回该字段信息。

Trait Implementations§

Source§

impl Debug for AlipayRefundQueryResponse

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for AlipayRefundQueryResponse

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for AlipayRefundQueryResponse

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where T: 'a,

Source§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

Source§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where T: 'a,

Source§

fn implicit( self, class: Class, constructed: bool, tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>

Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> XmlMessageParser for T

Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> ErasedDestructor for T
where T: 'static,