set_country


Description:

[ Version ( since = "0.5.0" ) ]
public void set_country (string? country, string? country_code)

Sets the country property to country, and country_code to country_code.

Set country or country_code to null to unset the relevant property in the postal address. If a country_code is provided, a country must also be provided.

Parameters:

this

a GDPostalAddress

country

the new country for the postal address, or null

country_code

the new country code for the postal address, or null