square / connect-csharp-sdk

C# client library for the Square Connect APIs
https://docs.connect.squareup.com/
Apache License 2.0
27 stars 25 forks source link

CreateOrderRequestLineItem - Quantity Property remains null #125

Closed mmcc1 closed 5 years ago

mmcc1 commented 5 years ago

One or more errors occurred. (Quantity is a required property for CreateOrderRequestLineItem and cannot be null): AggregateException at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification) at lambda_method(Closure , Stream , Stream , LambdaContextInternal )

at Square.Connect.Model.CreateOrderRequestLineItem..ctor(String Name, String Quantity, Money BasePriceMoney, String VariationName, String Note, String CatalogObjectId, List1 Modifiers, List1 Taxes, List`1 Discounts) at CBAOrderCreate.Function.FunctionHandler(APIGatewayProxyRequest request, ILambdaContext context) in C:\Clients\Comeback Cash\Code\CBAOrderCreate\CBAOrderCreate\Function.cs:line 232

mmcc1 commented 5 years ago

I tested this with the latest release and it is still an issue.