Skip to content

Commit

Permalink
Merge pull request #111 from avisser/add-parcelguard
Browse files Browse the repository at this point in the history
fix: add FundingSource & ParcelGuard as valid options for InsuranceProvider
  • Loading branch information
jpill authored Sep 12, 2024
2 parents 996b445 + 403d733 commit 9d6b2dc
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion ShipEngineSDK/Models/Dto/Common/Enums/InsuranceProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,18 @@ public enum InsuranceProvider
/// The package is insured by a third-party insurance service, outside of ShipEngine.
/// </summary>
[EnumMember(Value = "third_party")]
ThirdParty
ThirdParty,

/// <summary>
/// This option will assign the insurance provider available with ShipEngine Carriers to the shipment (currently ParcelGuard). The response will auto-populate the insurance_provider field with parcelguard.
/// </summary>
[EnumMember(Value = "funding_source")]
FundingSource,

Check warning on line 38 in ShipEngineSDK/Models/Dto/Common/Enums/InsuranceProvider.cs

View workflow job for this annotation

GitHub Actions / .Net 8.0 on windows-latest

Check warning on line 38 in ShipEngineSDK/Models/Dto/Common/Enums/InsuranceProvider.cs

View workflow job for this annotation

GitHub Actions / .Net 8.0 on windows-latest


/// <summary>
/// This option will assign ParcelGuard as the insurance provider for the shipment. Using this value is functionally the same as using the 'funding_source' value.
/// </summary>
[EnumMember(Value = "parcelguard")]
ParcelGuard

Check warning on line 44 in ShipEngineSDK/Models/Dto/Common/Enums/InsuranceProvider.cs

View workflow job for this annotation

GitHub Actions / .Net 8.0 on windows-latest

Check warning on line 44 in ShipEngineSDK/Models/Dto/Common/Enums/InsuranceProvider.cs

View workflow job for this annotation

GitHub Actions / .Net 8.0 on windows-latest

}
}

0 comments on commit 9d6b2dc

Please sign in to comment.