Class Options
Inheritance
System.Object
Options
Assembly: EasyPost.dll
Syntax
public class Options : EasyPostObject, IEasyPostObject
Properties
|
Improve this Doc
View Source
AdditionalHandling
When true, an additional handling fee will be applied to the shipment.
An Additional Handling charge may be applied to the following:
- Any article that is encased in an outside shipping container made of metal or wood.
- Any item, such as a barrel, drum, pail or tire, that is not fully encased in a corrugated cardboard shipping container.
- Any package with the longest side exceeding 60 inches or its second longest side exceeding 30 inches.
- Any package with an actual weight greater than 70 pounds.
Declaration
public bool? AdditionalHandling { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.Boolean> |
|
|
Improve this Doc
View Source
AddressValidationLevel
Setting this option to "0", will allow the minimum amount of address information to pass the validation check. Only for USPS postage.
Declaration
public string? AddressValidationLevel { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.String> |
|
|
Improve this Doc
View Source
Alcohol
Set this option to true if your shipment contains alcohol.
| Carrier | Details |
|---|
| UPS | Only supported for US Domestic shipments. |
| FedEx | Only supported for US Domestic shipments. |
| Canada Post |
Requires adult signature 19 years or older.
If you want adult signature 18 years or older, instead set DeliveryConfirmation to "ADULT_SIGNATURE".
|
Declaration
public bool? Alcohol { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.Boolean> |
|
|
Improve this Doc
View Source
BillingRef
A reference ID for aggregating DHL eCommerce billing data.
Declaration
public string? BillingRef { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.String> |
|
|
Improve this Doc
View Source
ByDrone
Setting this option to true will indicate to the carrier to prefer delivery by drone, if the carrier supports drone delivery.
Declaration
public bool? ByDrone { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.Boolean> |
|
|
Improve this Doc
View Source
CarrierInsuranceAmount
Declaration
public string? CarrierInsuranceAmount { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.String> |
|
|
Improve this Doc
View Source
CarrierNotificationEmail
Assign an email address to receive carrier notifications.
Declaration
public string? CarrierNotificationEmail { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.String> |
|
|
Improve this Doc
View Source
CarrierNotificationSms
Assign a phone number to receive carrier notifications.
Declaration
public string? CarrierNotificationSms { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.String> |
|
|
Improve this Doc
View Source
CertifiedMail
Certified Mail provides the sender with a mailing receipt and, upon request, electronic verification that an article was delivered or that a delivery attempt was made.
Declaration
public bool? CertifiedMail { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.Boolean> |
|
|
Improve this Doc
View Source
CodAddressId
The ID of the Address to which the COD payment should be returned.
Defaults to the origin address.
Only available on FedEx shipments.
Declaration
public string? CodAddressId { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.String> |
|
|
Improve this Doc
View Source
CodAmount
Adding an amount will have the carrier collect the specified amount from the recipient.
Declaration
public string? CodAmount { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.String> |
|
|
Improve this Doc
View Source
CodMethod
Method for payment.
- "CASH"
- "CHECK"
- "MONEY_ORDER"
Declaration
public string? CodMethod { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.String> |
|
|
Improve this Doc
View Source
CommercialInvoiceFormat
Declaration
public string? CommercialInvoiceFormat { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.String> |
|
|
Improve this Doc
View Source
CommercialInvoiceLetterhead
Declaration
public string? CommercialInvoiceLetterhead { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.String> |
|
|
Improve this Doc
View Source
CommercialInvoiceSignature
Declaration
public string? CommercialInvoiceSignature { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.String> |
|
|
Improve this Doc
View Source
CommercialInvoiceSize
Declaration
public string? CommercialInvoiceSize { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.String> |
|
|
Improve this Doc
View Source
ContentDescription
A description of the content of the shipment.
Declaration
public string? ContentDescription { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.String> |
|
|
Improve this Doc
View Source
CostCenter
Declaration
public string? CostCenter { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.String> |
|
|
Improve this Doc
View Source
Currency
Which currency this Shipment will show for rates if carrier allows.
Declaration
public string? Currency { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.String> |
|
|
Improve this Doc
View Source
CustomsBrokerAddressId
Declaration
public string? CustomsBrokerAddressId { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.String> |
|
|
Improve this Doc
View Source
CustomsIncludeShipping
Declaration
public string? CustomsIncludeShipping { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.String> |
|
|
Improve this Doc
View Source
DeclaredValue
Declaration
public double? DeclaredValue { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.Double> |
|
|
Improve this Doc
View Source
DeliveredDutyPaid
Declaration
public bool? DeliveredDutyPaid { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.Boolean> |
|
|
Improve this Doc
View Source
DeliveryConfirmation
If you want to request a signature, you can pass "ADULT_SIGNATURE" or "SIGNATURE".
You may also request "NO_SIGNATURE" to leave the package at the door.
"NO_SIGNATURE" is equivalent to releasing liability.
Some options may be limited for international shipments. Carrier specific delivery confirmation options are:
| Carrier | Details |
|---|
| FedEx |
| "INDIRECT_SIGNATURE" | Requires the signature of someone at the delivery address or from somebody nearby, such as a neighbor |
|
| USPS |
| "ADULT_SIGNATURE_RESTRICTED" | Requires the signature of the addressee only, who must be 21 years of age or older | | "SIGNATURE_RESTRICTED" | Requires the signature of the recipient or a responsible party |
|
| Canada Post |
| "DO_NOT_SAFE_DROP" | Tells the carrier to not hide the package ("safe drop") |
|
| GSO |
|
| DHL Express |
| "SIGNATURE" | DHL Express Direct Signature | | "NO_SIGNATURE" | DHL Express Signature Release |
|
Declaration
public string? DeliveryConfirmation { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.String> |
|
|
Improve this Doc
View Source
DeliveryMaxDatetime
The latest a package should be delivered.
Supported carriers vary.
Declaration
public string? DeliveryMaxDatetime { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.String> |
|
|
Improve this Doc
View Source
DeliveryMinDatetime
The earliest a package should be delivered.
Supported carriers vary.
Declaration
public string? DeliveryMinDatetime { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.String> |
|
|
Improve this Doc
View Source
DeliveryTimePreference
Declaration
public string? DeliveryTimePreference { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.String> |
|
|
Improve this Doc
View Source
DropoffMaxDatetime
Declaration
public DateTime? DropoffMaxDatetime { get; set; }
Property Value
| Type |
Description |
| System.Nullable<DateTime> |
|
|
Improve this Doc
View Source
DropoffType
Method the customer will use to transfer the package to the carrier.
Supported types and their corresponding carrier codes are:
| Carrier | Details |
|---|
| FedEx |
| "REGULAR_PICKUP" | Customer to transfer package during regular pickup (default) | | "SCHEDULED_PICKUP" | Customer to transfer package during scheduled pickup | | "RETAIL_LOCATION" | Customer to transfer package at FedEx retail location | | "STATION" | "STATION" | | "DROP_BOX" | Customer to use carrier drop box for package transfer |
|
Declaration
public string? DropoffType { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.String> |
|
|
Improve this Doc
View Source
DryIce
Package contents contain dry ice.
Declaration
public bool? DryIce { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.Boolean> |
|
|
Improve this Doc
View Source
DryIceMedical
Whether the dry ice is for medical use.
Declaration
public string? DryIceMedical { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.String> |
|
|
Improve this Doc
View Source
DryIceWeight
Weight of the dry ice, in ounces.
| Carrier | Details |
|---|
| UPS | Needs DryIce to be set. |
| UPS MailInnovations | Needs DryIce to be set. |
| FedEx | Needs DryIce to be set. |
Declaration
public string? DryIceWeight { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.String> |
|
|
Improve this Doc
View Source
DutyPayment
Set to bill the correct account for purchasing postage.
This option is only available with FedEx and UPS.
| Key | Value |
|---|
| type | One of the following:
|
| account | Account number |
| country | Country code that the account is based in |
| postage_code | Postal code that the account is based in |
Declaration
public Dictionary<string, object?>? DutyPayment { get; set; }
Property Value
| Type |
Description |
| System.Nullable<Dictionary<System.String, System.Nullable<System.Object>>> |
|
|
Improve this Doc
View Source
DutyPaymentAccount
Declaration
public string? DutyPaymentAccount { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.String> |
|
|
Improve this Doc
View Source
Endorsement
Possible values are:
- "ADDRESS_SERVICE_REQUESTED"
- "FORWARDING_SERVICE_REQUESTED"
- "CHANGE_SERVICE_REQUESTED"
- "RETURN_SERVICE_REQUESTED"
- "LEAVE_IF_NO_RESPONSE"
Declaration
public string? Endorsement { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.String> |
|
|
Improve this Doc
View Source
EndShipperId
Specify the responsible EndShipper for the shipment.
Declaration
public string? EndShipperId { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.String> |
|
|
Improve this Doc
View Source
FreightCharge
Additional cost to be added to the invoice of this Shipment.
Only applies to UPS currently.
Declaration
public string? FreightCharge { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.String> |
|
|
Improve this Doc
View Source
Group
Declaration
public string? Group { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.String> |
|
|
Improve this Doc
View Source
HandlingInstructions
This is to designate special instructions for the carrier, such as "Do not drop!".
Declaration
public string? HandlingInstructions { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.String> |
|
|
Improve this Doc
View Source
Hazmat
Dangerous goods indicator.
Possible values are:
- "PRIMARY_CONTAINED"
- "PRIMARY_PACKED"
- "PRIMARY"
- "SECONDARY_CONTAINED"
- "SECONDARY_PACKED"
- "SECONDARY"
- "ORMD"
- "LIMITED_QUANTITY"
- "LITHIUM"
Applies to USPS, FedEx and DHL eCommerce.
Declaration
public string? Hazmat { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.String> |
|
|
Improve this Doc
View Source
HoldForPickup
Package will wait at carrier facility for pickup.
Declaration
public bool? HoldForPickup { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.Boolean> |
|
|
Improve this Doc
View Source
ImageFormat
Declaration
public string? ImageFormat { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.String> |
|
|
Improve this Doc
View Source
ImporterAddressId
Declaration
public string? ImporterAddressId { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.String> |
|
|
Improve this Doc
View Source
ImportFederalTaxId
Declaration
public string? ImportFederalTaxId { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.String> |
|
|
Improve this Doc
View Source
ImportStateTaxId
Declaration
public string? ImportStateTaxId { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.String> |
|
|
Improve this Doc
View Source
Incoterm
Incoterm negotiated for shipment.
Supported values are:
- "EXW"
- "FCA"
- "CPT"
- "CIP"
- "DAT"
- "DAP"
- "DDP"
- "FAS"
- "FOB"
- "CFR"
- "CIF"
Setting this value to anything other than "DDP" will pass the cost and responsibility of duties on to the recipient of the package(s), as specified by Incoterms rules.
Declaration
public string? Incoterm { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.String> |
|
|
Improve this Doc
View Source
InvoiceNumber
Invoice number to print on the postage label.
Declaration
public string? InvoiceNumber { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.String> |
|
|
Improve this Doc
View Source
LabelDate
Set the date that will appear on the postage label.
Accepts ISO 8601 formatted string including time zone offset.
EasyPost stores all dates as UTC time.
Declaration
public DateTime? LabelDate { get; set; }
Property Value
| Type |
Description |
| System.Nullable<DateTime> |
|
|
Improve this Doc
View Source
LabelFormat
Supported label formats are:
"PNG" is the only format that allows for conversion.
Declaration
public string? LabelFormat { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.String> |
|
|
Improve this Doc
View Source
LabelSize
Declaration
public string? LabelSize { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.String> |
|
|
Improve this Doc
View Source
LicenseNumber
Declaration
public string? LicenseNumber { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.String> |
|
|
Improve this Doc
View Source
Machinable
Whether or not the parcel can be processed by the carriers equipment.
Declaration
public string? Machinable { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.String> |
|
|
Improve this Doc
View Source
MerchantId
This is a required field for DHL eCommerce shipments and should be the merchant's name. It will be displayed on the shipping label and associated with the shipment throughout transit.
Declaration
public string? MerchantId { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.String> |
|
|
Improve this Doc
View Source
NeutralDelivery
Declaration
public bool? NeutralDelivery { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.Boolean> |
|
|
Improve this Doc
View Source
NonContract
Declaration
public bool? NonContract { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.Boolean> |
|
|
Improve this Doc
View Source
OverlabelConstructCode
Declaration
public string? OverlabelConstructCode { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.String> |
|
|
Improve this Doc
View Source
OverlabelOriginalTrackingNumber
Declaration
public string? OverlabelOriginalTrackingNumber { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.String> |
|
|
Improve this Doc
View Source
PartiesToTransactionAreRelated
Declaration
public string? PartiesToTransactionAreRelated { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.String> |
|
|
Improve this Doc
View Source
Payment
Setting payment type to bill the correct account for purchasing postage.
"THIRD_PARTY" is only supported on passthrough billed carriers.
| Key | Value |
|---|
| type | One of the following:
- "SENDER"
- "THIRD_PARTY"
- "RECEIVER"
- "COLLECT"
Defaults to "SENDER".
|
| account | Account number. Required for "RECEIVER" and "THIRD_PARTY". |
| country | Country code that the account is based in. Required for "THIRD_PARTY". |
| postage_code | Postal code that the account is based in. Required for "RECEIVER" and "THIRD_PARTY". |
Declaration
public Dictionary<string, object>? Payment { get; set; }
Property Value
| Type |
Description |
| System.Nullable<Dictionary<System.String, System.Object>> |
|
|
Improve this Doc
View Source
PeelAndReturn
Declaration
public bool? PeelAndReturn { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.Boolean> |
|
|
Improve this Doc
View Source
PickupMaxDatetime
The latest a package should be picked up.
Supported carriers vary.
Declaration
public DateTime? PickupMaxDatetime { get; set; }
Property Value
| Type |
Description |
| System.Nullable<DateTime> |
|
|
Improve this Doc
View Source
PickupMinDatetime
The earliest a package should be picked up.
Supported carriers vary.
Declaration
public DateTime? PickupMinDatetime { get; set; }
Property Value
| Type |
Description |
| System.Nullable<DateTime> |
|
|
Improve this Doc
View Source
PoSort
Declaration
public string? PoSort { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.String> |
|
|
Improve this Doc
View Source
PostageLabelInline
Declaration
public bool? PostageLabelInline { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.Boolean> |
|
|
Improve this Doc
View Source
PrintCustom
Declaration
public List<Dictionary<string, object>>? PrintCustom { get; set; }
Property Value
| Type |
Description |
| System.Nullable<List<Dictionary<System.String, System.Object>>> |
|
|
Improve this Doc
View Source
PrintCustom1
You can optionally print custom messages on labels.
Message to print on the label in spot 1.
Declaration
public string? PrintCustom1 { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.String> |
|
|
Improve this Doc
View Source
PrintCustom1Barcode
Create a barcode for this custom reference if supported by carrier.
Declaration
public bool? PrintCustom1Barcode { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.Boolean> |
|
|
Improve this Doc
View Source
PrintCustom1Code
Specify the type of PrintCustom1.
| Carrier | Details |
|---|
| FedEx |
| (null) | If PrintCustom1 is not provided, it defaults to Customer Reference | | PO | Purchase Order Number | | DP | Department Number | | RMA | Return Merchandise Authorization |
|
| UPS |
| AJ | Accounts Receivable Customer Account | | AT | Appropriation Number | | BM | Bill of Lading Number | | 9V | Collect on Delivery (COD) Number | | ON | Dealer Order Number | | DP | Department Number | | 3Q | Food and Drug Administration (FDA) Product Code | | IK | Invoice Number | | MK | Manifest Key Number | | MJ | Model Number | | PM | Part Number | | PC | Production Code | | PO | Purchase Order Number | | RQ | Purchase Request Number | | RZ | Return Authorization Number | | SA | Salesperson Number | | SE | Serial Number | | ST | Store Number | | TN | Transaction Reference Number | | EI | Employer's ID Number | | TJ | Federal Taxpayer ID No. |
|
Declaration
public string? PrintCustom1Code { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.String> |
|
|
Improve this Doc
View Source
PrintCustom2
You can optionally print custom messages on labels.
Message to print on the label in spot 2.
Declaration
public string? PrintCustom2 { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.String> |
|
|
Improve this Doc
View Source
PrintCustom2Barcode
Create a barcode for this custom reference if supported by carrier.
Declaration
public bool? PrintCustom2Barcode { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.Boolean> |
|
|
Improve this Doc
View Source
PrintCustom2Code
Declaration
public string? PrintCustom2Code { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.String> |
|
|
Improve this Doc
View Source
PrintCustom3
You can optionally print custom messages on labels.
Message to print on the label in spot 3.
Declaration
public string? PrintCustom3 { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.String> |
|
|
Improve this Doc
View Source
PrintCustom3Barcode
Create a barcode for this custom reference if supported by carrier.
Declaration
public bool? PrintCustom3Barcode { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.Boolean> |
|
|
Improve this Doc
View Source
PrintCustom3Code
Declaration
public string? PrintCustom3Code { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.String> |
|
|
Improve this Doc
View Source
PrintRate
Declaration
public bool? PrintRate { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.Boolean> |
|
|
Improve this Doc
View Source
ReceiverLiquorLicense
Declaration
public string? ReceiverLiquorLicense { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.String> |
|
|
Improve this Doc
View Source
RegisteredMail
Registered Mail is the most secure service that the USPS offers.
It incorporates a system of receipts to monitor the movement of the mail from the point of acceptance to delivery.
Declaration
public bool? RegisteredMail { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.Boolean> |
|
|
Improve this Doc
View Source
RegisteredMailAmount
Declaration
public double? RegisteredMailAmount { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.Double> |
|
|
Improve this Doc
View Source
ReturnReceipt
An electronic return receipt may be purchased at the time of mailing and provides a shipper with evidence of delivery (to whom the mail was delivered and date of delivery), and information about the recipient's actual delivery address.
Only applies to the USPS.
Declaration
public bool? ReturnReceipt { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.Boolean> |
|
|
Improve this Doc
View Source
ReturnService
Declaration
public string? ReturnService { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.String> |
|
|
Improve this Doc
View Source
SaturdayDelivery
Set this value to true for delivery on Saturday.
When set, you will only get rates for services that are eligible for Saturday delivery.
If no services are available for Saturday delivery, then you will not be returned any rates.
You may need to create two shipments, one with the SaturdayDelivery option set and one without to get all your eligible rates.
Declaration
public bool? SaturdayDelivery { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.Boolean> |
|
|
Improve this Doc
View Source
SettlementMethod
Declaration
public string? SettlementMethod { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.String> |
|
|
Improve this Doc
View Source
SmartpostHub
You can use this to override the hub ID you have on your account.
Declaration
public string? SmartpostHub { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.String> |
|
|
Improve this Doc
View Source
SmartpostManifest
The manifest ID is used to group SmartPost packages onto a manifest for each trailer.
Declaration
public string? SmartpostManifest { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.String> |
|
|
Improve this Doc
View Source
SpecialRatesEligibility
This option allows you to request the following USPS mail classes:
| Type | Code |
|---|
| Media Mail | USPS.MEDIAMAIL |
| Library Mail | USPS.LIBRARYMAIL |
These mail classes have restrictions that must be followed.
See the DMM (https://pe.usps.com/DMM300/Index) for eligibility rules.
Declaration
public string? SpecialRatesEligibility { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.String> |
|
|
Improve this Doc
View Source
SuppressEtd
Declaration
public bool? SuppressEtd { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.Boolean> |
|
|
Improve this Doc
View Source
TaxIdExpirationDate
The expiration date of the tax ID, in the format DD/MM/YYYY.
Declaration
public string? TaxIdExpirationDate { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.String> |
|
Methods
|
Improve this Doc
View Source
AddAdditionalOption(String, Object)
Add an additional option that is not officially supported by the library.
Declaration
public void AddAdditionalOption(string key, object value)
Parameters
| Type |
Name |
Description |
| System.String |
key |
JSON key of the option to add.
|
| System.Object |
value |
Value of the option to add.
|
|
Improve this Doc
View Source
AsDictionary()
Gets this object as a JSON object (dictionary).
Declaration
public override Dictionary<string, object> AsDictionary()
Returns
| Type |
Description |
| Dictionary<System.String, System.Object> |
A dictionary representation of this object's properties.
|
Overrides
|
Improve this Doc
View Source
FromDictionary(Dictionary<String, Object>)
Create an Options object from a dictionary.
WARNING: This method involves serializing and deserializing the data, which can be slow. Use sparingly.
Declaration
public static Options FromDictionary(Dictionary<string, object> data)
Parameters
| Type |
Name |
Description |
| Dictionary<System.String, System.Object> |
data |
A of key-value pairs of options.
|
Returns
Implements