Try your search with a different keyword or use * as a wildcard.
using Microsoft.AspNetCore.Http;
using Newtonsoft.Json;
using Nop.Plugin.Payments.PayPalCommerce.Services.Api.Models;
namespace Nop.Plugin.Payments.PayPalCommerce.Services.Api.Payments;
///
/// Represents the request to capture an authorized payment
///
public class CreateCaptureRequest : Capture, IAuthorizedRequest
{
#region Properties
///
/// Gets or sets the ID of the authorized payment
///
[JsonIgnore]
public string AuthorizationId { get; set; }
///
/// Gets or sets the informational note about this settlement. Appears in both the payer's transaction history and the emails that the payer receives.
///
[JsonProperty(PropertyName = "note_to_payer")]
public string NoteToPayer { get; set; }
///
/// Gets or sets the payment descriptor on the payer's account statement.
///
[JsonProperty(PropertyName = "soft_descriptor")]
public string SoftDescriptor { get; set; }
///
/// Gets or sets the additional payment instructions to be consider during payment processing. This processing instruction is applicable for Capturing an order or Authorizing an Order.
///
[JsonProperty(PropertyName = "payment_instruction")]
public PaymentInstruction PaymentInstruction { get; set; }
///
/// Gets the request path
///
[JsonIgnore]
public string Path => $"v2/payments/authorizations/{Uri.EscapeDataString(AuthorizationId)}/capture?";
///
/// Gets the request method
///
[JsonIgnore]
public string Method => HttpMethods.Post;
#endregion
}