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

Inheritance: LineItem
显示文件 Open project: Riskified/sdk_net

Private Properties

Property Type Description

Public Methods

Method Description
DigitalLineItem ( string title, double price, int quantityPurchased, string productId = null, string sku = null, string condition = null, bool requiresShipping = null, string category = null, string subCategory = null, string brand = null, Riskified.SDK.Model.OrderElements.Seller seller = null, DeliveredToType deliveredTo = null, System.DateTime deliveredAt = null, string senderName = null, string displayName = null, bool photoUploaded = null, string photoUrl = null, string greetingPhotoUrl = null, string message = null, string greetingMessage = null, string cardType = null, string cardSubType = null, string senderEmail = null, Riskified.SDK.Model.OrderElements.Recipient recipient = null ) : System
Validate ( Validations validationType = Validations.Weak ) : void

Method Details

DigitalLineItem() public method

public DigitalLineItem ( string title, double price, int quantityPurchased, string productId = null, string sku = null, string condition = null, bool requiresShipping = null, string category = null, string subCategory = null, string brand = null, Riskified.SDK.Model.OrderElements.Seller seller = null, DeliveredToType deliveredTo = null, System.DateTime deliveredAt = null, string senderName = null, string displayName = null, bool photoUploaded = null, string photoUrl = null, string greetingPhotoUrl = null, string message = null, string greetingMessage = null, string cardType = null, string cardSubType = null, string senderEmail = null, Riskified.SDK.Model.OrderElements.Recipient recipient = null ) : System
title string
price double
quantityPurchased int
productId string
sku string
condition string
requiresShipping bool
category string
subCategory string
brand string
seller Riskified.SDK.Model.OrderElements.Seller
deliveredTo DeliveredToType
deliveredAt System.DateTime
senderName string
displayName string
photoUploaded bool
photoUrl string
greetingPhotoUrl string
message string
greetingMessage string
cardType string
cardSubType string
senderEmail string
recipient Riskified.SDK.Model.OrderElements.Recipient
return System

Validate() public method

public Validate ( Validations validationType = Validations.Weak ) : void
validationType Validations
return void