David A. Christensen > Biblio-ILL-ISO-0.06 > Biblio::ILL::ISO::Amount

Download:
Biblio-ILL-ISO-0.06.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 0.02   Source  

NAME ^

Biblio::ILL::ISO::Amount

VERSION ^

Version 0.02

DESCRIPTION ^

Biblio::ILL::ISO::Amount is a derivation of Biblio::ILL::ISO::ILLASNtype.

USES ^

 Biblio::ILL::ISO::AmountString

USED IN ^

 Biblio::ILL::ISO::CostInfoType
 Biblio::ILL::ISO::SupplyDetails

FROM THE ASN DEFINITION ^

 Amount ::= SEQUENCE {
        currency-code   [0]     IMPLICIT PrintableString OPTIONAL, --(SIZE (3))
                -- values defined in ISO 4217-1981
        monetary-value  [1]     IMPLICIT AmountString -- (SIZE (1..10))
        }

METHODS ^

^

new([$amount_string [, $currency_code] ])

Creates a new Amount object. Expects either no parameters, or a valid Biblio::ILL::ISO::AmountString and (optionally) a 3-character string indicating the currency code.

^

set($amount_string [, $currence_code])

Sets the object's monetary-value (a Biblio::ILL::ISO::AmountString) and (optionally) currency-code (a 3-character text string).

^

from_asn($href)

Given a properly formatted hash, builds the object.

SEE ALSO ^

See the README for system design notes.

For more information on Interlibrary Loan standards (ISO 10160/10161), a good place to start is:

http://www.nlc-bnc.ca/iso/ill/main.htm

AUTHOR ^

David Christensen, <DChristensenSPAMLESS@westman.wave.ca>

COPYRIGHT AND LICENSE ^

Copyright 2003 by David Christensen

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.