AccountsHelperGetCountry Method (Guid, String, String, String, Boolean) |
Gets country code and country tag for given account id.
Namespace:
Atomia.Billing.Core.Sdk.BusinessLogic
Assembly:
Atomia.Billing.Core.Sdk (in Atomia.Billing.Core.Sdk.dll) Version: 18.10.7096.28998
Syntax public static void GetCountry(
Guid accountId,
out string countryCode,
out string countryTag,
out string countryState,
bool preferBillingAddress = false
)
Public Shared Sub GetCountry (
accountId As Guid,
<OutAttribute> ByRef countryCode As String,
<OutAttribute> ByRef countryTag As String,
<OutAttribute> ByRef countryState As String,
Optional preferBillingAddress As Boolean = false
)
public:
static void GetCountry(
Guid accountId,
[OutAttribute] String^% countryCode,
[OutAttribute] String^% countryTag,
[OutAttribute] String^% countryState,
bool preferBillingAddress = false
)
static member GetCountry :
accountId : Guid *
countryCode : string byref *
countryTag : string byref *
countryState : string byref *
?preferBillingAddress : bool
(* Defaults:
let _preferBillingAddress = defaultArg preferBillingAddress false
*)
-> unit
Parameters
- accountId
- Type: SystemGuid
The account id. - countryCode
- Type: SystemString
The country code. - countryTag
- Type: SystemString
The country tag. - countryState
- Type: SystemString
The country state. - preferBillingAddress (Optional)
- Type: SystemBoolean
If true, use address details from the billing address.
See Also