itemCost (property)
Line item property: Unit cost for item.
Syntax
- (NSString*)itemCost:(int)itemIndex; - (void)setItemCost:(int)itemIndex:(NSString*)newItemCost;
public func itemCost(itemIndex: Int32) throws -> String
public func setItemCost(itemIndex: Int32, newItemCost: String) throws -> Void
Default Value
""
Remarks
Line item property: Unit cost for item.
The unit cost for this item.
If ItemAmount is specified, then ItemCost will be calculated automatically and should not be specified.
The amount should be formatted as a string in dollars.
The ItemIndex parameter specifies the index of the item in the array. The size of the array is controlled by the ItemCount property.