pub struct AuthorizeOrder {
pub body: PaymentSourceBody,
/* private fields */
}
Expand description
Authorizes payment for an order. To successfully authorize payment for an order, the buyer must first approve the order or a valid payment_source must be provided in the request. A buyer can approve the order upon being redirected to the rel:approve URL that was returned in the HATEOAS links in the create order response.
Fields§
§body: PaymentSourceBody
The endpoint body.
Implementations§
Trait Implementations§
Source§impl Debug for AuthorizeOrder
impl Debug for AuthorizeOrder
Source§impl Endpoint for AuthorizeOrder
impl Endpoint for AuthorizeOrder
Source§type Body = PaymentSourceBody
type Body = PaymentSourceBody
The serializable body type.
Source§fn relative_path(&self) -> Cow<'_, str>
fn relative_path(&self) -> Cow<'_, str>
The endpoint relative path. Must start with a
/
Auto Trait Implementations§
impl Freeze for AuthorizeOrder
impl RefUnwindSafe for AuthorizeOrder
impl Send for AuthorizeOrder
impl Sync for AuthorizeOrder
impl Unpin for AuthorizeOrder
impl UnwindSafe for AuthorizeOrder
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