Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

CreateOrderRequest.cs

using Microsoft.AspNetCore.Http;
using Newtonsoft.Json;
using Nop.Plugin.Payments.PayPalCommerce.Services.Api.Models;

namespace Nop.Plugin.Payments.PayPalCommerce.Services.Api.Orders;

/// 
/// Represents the request to create an order
/// 
public class CreateOrderRequest : Order, IAuthorizedRequest
{
    #region Properties

    /// 
    /// Gets or sets the payer experience during the approval process for the payment with PayPal.
Note: Partners and Marketplaces might configure brand_name and shipping_preference during partner account setup, which overrides the request values.
///
[JsonProperty(PropertyName = "application_context")] public ApplicationContext ApplicationContext { get; set; } /// /// Gets the request path /// [JsonIgnore] public string Path => $"v2/checkout/orders?"; /// /// Gets the request method /// [JsonIgnore] public string Method => HttpMethods.Post; #endregion }