API Reference
InvoicePdfLanguagePack
Defines the culture and generated labels for one invoice presentation language.
Inheritance
- Object
- InvoicePdfLanguagePack
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
Methods
public static InvoicePdfLanguagePack Create(String cultureName, IReadOnlyDictionary<InvoicePdfText, String> labels) #InvoicePdfLanguagePackCreates a custom pack. Missing entries deliberately fall back to English so callers can override only the labels they own.
Parameters
- cultureName System.String
- labels System.Collections.Generic.IReadOnlyDictionary{OfficeIMO.Invoicing.Pdf.InvoicePdfText,System.String}
public static InvoicePdfLanguagePack ForCulture(String cultureName) #InvoicePdfLanguagePackCreates a pack for a supported built-in language. English, German, Polish, French, Spanish, Italian, Dutch, Portuguese, Czech, and Slovak are supported; regional culture names use the matching language translation.
Parameters
- cultureName System.String
public String GetPaymentDescription(String code) #StringReturns the translated description of a supported UNCL 4461 payment code, or null when unknown.
Parameters
- code System.String
public String GetUnitDescription(String code) #StringReturns the translated description of a supported UN/ECE unit code, or null when unknown.
Parameters
- code System.String
public InvoicePdfLanguagePack WithCodeDescriptions(IReadOnlyDictionary<String, String> units = null, IReadOnlyDictionary<String, String> payments = null) #InvoicePdfLanguagePackCreates an independent pack with caller-supplied code descriptions overriding built-in descriptions. Each dictionary accepts up to 512 entries, with codes up to 32 and descriptions up to 256 characters.
Parameters
- units System.Collections.Generic.IReadOnlyDictionary{System.String,System.String} = null
- payments System.Collections.Generic.IReadOnlyDictionary{System.String,System.String} = null
Inherited Methods
public override Boolean Equals(Object obj) #BooleanParameters
- obj Object