C# Class Riskified.SDK.Model.OrderElements.PaypalPaymentDetails

Inheritance: IPaymentDetails
显示文件 Open project: Riskified/sdk_net Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
PaypalPaymentDetails ( string paymentStatus, string authorizationId = null, string payerEmail = null, string payerStatus = null, string payerAddressStatus = null, string protectionEligibility = null, string pendingReason = null ) : Newtonsoft.Json

The payment information for the order in case of a paypal payment

Validate ( Validations validationType = Validations.Weak ) : void

Validates the objects fields content

Method Details

PaypalPaymentDetails() public method

The payment information for the order in case of a paypal payment
public PaypalPaymentDetails ( string paymentStatus, string authorizationId = null, string payerEmail = null, string payerStatus = null, string payerAddressStatus = null, string protectionEligibility = null, string pendingReason = null ) : Newtonsoft.Json
paymentStatus string The payment status as recieved from paypal
authorizationId string The authorization Id received from paypal
payerEmail string The payer email assigned to his paypal accout as received from paypal
payerStatus string The payer status as received from paypal
payerAddressStatus string The payer address status as received from paypal
protectionEligibility string The merchants protection eligibility for the order as received from paypal
pendingReason string The pending reason received from paypal
return Newtonsoft.Json

Validate() public method

Validates the objects fields content
throws an exception if one of the parameters doesn't match the expected format
public Validate ( Validations validationType = Validations.Weak ) : void
validationType Validations Should use weak validations or strong
return void