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

Inheritance: LineItem
Show file Open project: Riskified/sdk_net

Private Properties

Property Type Description

Public Methods

Method Description
TravelTicketLineItem ( 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 legId = null, string departurePortCode = null, string departureCity = null, string departureCountryCode = null, string arrivalPortCode = null, string arrivalCity = null, string arrivalCountryCode = null, System.DateTime departureDate = null, System.DateTime arrivalDate = null, string carrierName = null, string carrierCode = null, int routeIndex = null, int legIndex = null, string ticketClass = null, TransportMethodType transportMethod = null ) : System
Validate ( Validations validationType = Validations.Weak ) : void

Method Details

TravelTicketLineItem() public method

public TravelTicketLineItem ( 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 legId = null, string departurePortCode = null, string departureCity = null, string departureCountryCode = null, string arrivalPortCode = null, string arrivalCity = null, string arrivalCountryCode = null, System.DateTime departureDate = null, System.DateTime arrivalDate = null, string carrierName = null, string carrierCode = null, int routeIndex = null, int legIndex = null, string ticketClass = null, TransportMethodType transportMethod = 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
legId string
departurePortCode string
departureCity string
departureCountryCode string
arrivalPortCode string
arrivalCity string
arrivalCountryCode string
departureDate System.DateTime
arrivalDate System.DateTime
carrierName string
carrierCode string
routeIndex int
legIndex int
ticketClass string
transportMethod TransportMethodType
return System

Validate() public method

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