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

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

Private Properties

Property Type Description

Public Methods

Method Description
AccommodationLineItem ( 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 roomType = null, string city = null, string countryCode = null, System.DateTime checkInDate = null, System.DateTime checkOutTime = null, string rating = null, ushort numberOfGuests = null, string cancellationPolicy = null, string accommodationType = null ) : System
Validate ( Validations validationType = Validations.Weak ) : void

Method Details

AccommodationLineItem() public method

public AccommodationLineItem ( 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 roomType = null, string city = null, string countryCode = null, System.DateTime checkInDate = null, System.DateTime checkOutTime = null, string rating = null, ushort numberOfGuests = null, string cancellationPolicy = null, string accommodationType = 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
roomType string
city string
countryCode string
checkInDate System.DateTime
checkOutTime System.DateTime
rating string
numberOfGuests ushort
cancellationPolicy string
accommodationType string
return System

Validate() public method

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