cbstripe

Class Money

lucee.Component
    extended by cbstripe.Money
Class Attributes:
  • synchronized : false
  •  
  • accessors : true
  •  
  • persistent : false
  •  
    Property Summary
    type property default serializable required
    any cents


    • access = public
    • returntype = any
    true false
    any currency


    • access = public
    • returntype = any
    true false
    Constructor Summary
    init([numeric cents='0'], [string currency='usd'])
    Method Summary
    string getCents()
    string getCurrency()
    any setCents([any cents])
    any setCurrency([any currency])
     
    Methods inherited from class lucee.Component
    None

    Constructor Detail

    init

    public init([numeric cents='0'], [string currency='usd'])

    Parameters:
    cents
    currency

    Property Detail

    cents

    property any cents

    Attributes:
    access - public
    required - false
    returntype - any
    serializable - true

    currency

    property any currency

    Attributes:
    access - public
    required - false
    returntype - any
    serializable - true

    Method Detail

    getCents

    public string getCents()


    getCurrency

    public string getCurrency()


    setCents

    public any setCents([any cents])

    Parameters:
    cents

    setCurrency

    public any setCurrency([any currency])

    Parameters:
    currency