commercetools.Sdk
The commercetools platform, import-api and C# sdks generated from our api reference.
Loading...
Searching...
No Matches
Static Public Member Functions | Properties
commercetools.Sdk.Api.Models.Common.Money Class Reference

Inherits commercetools.Sdk.Api.Models.Common.IMoney.

Static Public Member Functions

static IMoney FromDecimal (string currencyCode, decimal value, MidpointRounding midpointRounding=MidpointRounding.ToEven)
 
static IMoney FromDecimal (string currencyCode, decimal value, int fractionDigits, MidpointRounding midpointRounding=MidpointRounding.ToEven)
 

Properties

long CentAmount [get, set]
 
string CurrencyCode [get, set]
 
- Properties inherited from commercetools.Sdk.Api.Models.Common.IMoney

Member Function Documentation

◆ FromDecimal() [1/2]

static IMoney commercetools.Sdk.Api.Models.Common.Money.FromDecimal ( string  currencyCode,
decimal  value,
int  fractionDigits,
MidpointRounding  midpointRounding = MidpointRounding::ToEven 
)
inlinestatic

◆ FromDecimal() [2/2]

static IMoney commercetools.Sdk.Api.Models.Common.Money.FromDecimal ( string  currencyCode,
decimal  value,
MidpointRounding  midpointRounding = MidpointRounding::ToEven 
)
inlinestatic

Property Documentation

◆ CentAmount

long commercetools.Sdk.Api.Models.Common.Money.CentAmount
getset

◆ CurrencyCode

string commercetools.Sdk.Api.Models.Common.Money.CurrencyCode
getset

The documentation for this class was generated from the following files: