[][src]Module paypal_rs::orders

An order represents a payment between two or more parties.

Use the Orders API to create, update, retrieve, authorize, and capture orders.

Reference: https://developer.paypal.com/docs/api/orders/v2/

Structs

Address

The address of the payer.

Amount

Represents an amount of money.

ApplicationContext

Customize the payer experience during the approval process for the payment with PayPal.

AuthorizationWithData

A payment authorization.

Breakdown

Breakdown provides details such as total item amount, total tax amount, shipping, handling, insurance, and discounts, if any.

Capture

A captured payment.

CardResponse

The payment card to use to fund a payment.

Item

Represents an item.

LinkDescription

A HTOAES link

Money

Represents money

Order

An order represents a payment between two or more parties.

OrderPayload

A order payload to be used when creating an order.

Payee

The merchant who receives payment for this transaction.

Payer

The customer who approves and pays for the order. The customer is also known as the payer.

PayerName

Represents a payer name.

PaymentCollection

The comprehensive history of payments for the purchase unit.

PaymentInstruction

Any additional payment instructions for PayPal Commerce Platform customers.

PaymentMethod

A payment method.

PaymentSourceResponse

The payment source used to fund the payment.

Phone

The phone number of the customer. Available only when you enable the Contact Telephone Number option in the Profile & Settings for the merchant's PayPal account.

PhoneNumber

The phone number, in its canonical international E.164 numbering plan format.

PlatformFee

Fees, commissions, tips, or donations

PurchaseUnit

Represents either a full or partial order that the payer intends to purchase from the payee.

Refund

A refund

ShippingDetail

The name and address of the person to whom to ship the items.

TaxInfo

The tax information of the payer.

WalletResponse

The customer's wallet used to fund the transaction.

Enums

AuthorizationStatus

The status of the payment authorization.

AuthorizationStatusDetails

Details about the status of the authorization.

CaptureStatus

The capture status.

CaptureStatusDetails

Details about the captured payment status.

CardBrand

The card brand or network.

CardType
DisbursementMode

The funds that are held on behalf of the merchant

Intent

The intent to either capture payment immediately or authorize a payment for an order after order creation.

ItemCategoryType

The item category type.

LandingPage

The type of landing page to show on the PayPal site for customer checkout.

LinkMethod
OrderStatus

The status of an order.

PayeePreferred

The merchant-preferred payment sources.

PhoneType

The phone type.

RefundStatus

The status of the refund

RefundStatusDetails

The reason why the refund has the PENDING or FAILED status.

ShippingPreference

The shipping preference

TaxIdType

The customer's tax ID type. Supported for the PayPal payment method only.

UserAction

Configures a Continue or Pay Now checkout flow.