Skip to content

Commit

Permalink
Merge pull request #2127 from stripe/cjavilla/charge-capture-transfer
Browse files Browse the repository at this point in the history
Adds `TransferData` and `TransferGroup` to `ChargeCaptureOptions`
  • Loading branch information
remi-stripe authored Jul 21, 2020
2 parents a0d74e7 + beb22b3 commit fcca15e
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/Stripe.net/Services/Charges/ChargeCaptureOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,19 @@ public class ChargeCaptureOptions : BaseOptions
/// </summary>
[JsonProperty("statement_descriptor_suffix")]
public string StatementDescriptorSuffix { get; set; }

/// <summary>
/// An optional dictionary including the account to automatically transfer to as part of a
/// destination charge.
/// </summary>
[JsonProperty("transfer_data")]
public ChargeTransferDataOptions TransferData { get; set; }

/// <summary>
/// A string that identifies this transaction as part of a group. <c>TransferGroup</c> may
/// only be provided if it has not been set. See the Connect documentation for details.
/// </summary>
[JsonProperty("transfer_group")]
public string TransferGroup { get; set; }
}
}

0 comments on commit fcca15e

Please sign in to comment.