SoftBank.Note.Currency.cny

You're seeing just the function cny, go back to SoftBank.Note.Currency module for more information.

Convenience method to create a SoftBank.Note object for the Yuan Renminbi (CNY) currency.

Example:

iex> SoftBank.Note.Currency.cny(100)
%SoftBank.Note{amount: 100, currency: :CNY}