Search found 1293 matches

by BobRichards
Tue Feb 04, 2014 12:10 pm
Forum: Integration Development
Topic: BuyerSeller Couple Type
Replies: 1
Views: 1618

Re: BuyerSeller Couple Type

After you set the BuyerSellerType to Joint, you will have access to the second individual.

Code: Select all

buyer = order.CreateNew("Buyer");
order.BuyerSellerType = BuyerSellerType.Joint;
by BobRichards
Sat Feb 01, 2014 4:08 pm
Forum: Integration Development
Topic: RequestedTask via API
Replies: 4
Views: 2225

Re: RequestedTask via API

Remember that an order will only accept two date types: Local or UTC. If you are parsing a DateTime from a string, you need to set it to the correct type. The fragment below will create a DateTime of Local type. DateTime date; bool success = DateTime.TryParse("1/2/2014 8:45am", null, DateT...
by BobRichards
Thu Jan 30, 2014 4:43 pm
Forum: Integration Development
Topic: BuyerSellerType
Replies: 4
Views: 2115

Re: BuyerSellerType

(Or using dynamic)

Code: Select all

IOrder order = (IOrder)GetAnOrderFromSomewhere();
dynamic buyer = order.CreateNew("Buyer");
buyer.BuyerSellerType = BuyerSellerType.Male;