Struct google_content2::api::OrderRefund [−][src]
pub struct OrderRefund {
pub actor: Option<String>,
pub amount: Option<Price>,
pub creation_date: Option<String>,
pub reason: Option<String>,
pub reason_text: Option<String>,
}Expand description
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields
actor: Option<String>The actor that created the refund. Acceptable values are: - “customer” - “googleBot” - “googleCustomerService” - “googlePayments” - “googleSabre” - “merchant”
amount: Option<Price>The amount that is refunded.
creation_date: Option<String>Date on which the item has been created, in ISO 8601 format.
reason: Option<String>The reason for the refund. Acceptable values are: - “adjustment” - “autoPostInternal” - “autoPostInvalidBillingAddress” - “autoPostNoInventory” - “autoPostPriceError” - “autoPostUndeliverableShippingAddress” - “couponAbuse” - “courtesyAdjustment” - “customerCanceled” - “customerDiscretionaryReturn” - “customerInitiatedMerchantCancel” - “customerSupportRequested” - “deliveredLateByCarrier” - “deliveredTooLate” - “expiredItem” - “failToPushOrderGoogleError” - “failToPushOrderMerchantError” - “failToPushOrderMerchantFulfillmentError” - “failToPushOrderToMerchant” - “failToPushOrderToMerchantOutOfStock” - “feeAdjustment” - “invalidCoupon” - “lateShipmentCredit” - “malformedShippingAddress” - “merchantDidNotShipOnTime” - “noInventory” - “orderTimeout” - “other” - “paymentAbuse” - “paymentDeclined” - “priceAdjustment” - “priceError” - “productArrivedDamaged” - “productNotAsDescribed” - “promoReallocation” - “qualityNotAsExpected” - “returnRefundAbuse” - “shippingCostAdjustment” - “shippingPriceError” - “taxAdjustment” - “taxError” - “undeliverableShippingAddress” - “unsupportedPoBoxAddress” - “wrongProductShipped”
reason_text: Option<String>The explanation of the reason.
Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for OrderRefund
impl Send for OrderRefund
impl Sync for OrderRefund
impl Unpin for OrderRefund
impl UnwindSafe for OrderRefund
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more