Skip to content

Commit

Permalink
Merge pull request #65 from gocardless/template-changes
Browse files Browse the repository at this point in the history
Changes from gocardless-dotnet-template
  • Loading branch information
danwakefield authored Oct 14, 2020
2 parents 6bccf9a + 44ee144 commit 00b993f
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 13 deletions.
4 changes: 2 additions & 2 deletions GoCardless/Resources/Event.cs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public class Event
/// <ul>
/// <li>`payments`</li>
/// <li>`mandates`</li>
/// <li>`payer_authorisations`</li
/// <li>`payer_authorisations`</li>
/// <li>`payouts`</li>
/// <li>`refunds`</li>
/// <li>`subscriptions`</li>
Expand Down Expand Up @@ -425,7 +425,7 @@ public class EventLinks
/// <ul>
/// <li>`payments`</li>
/// <li>`mandates`</li>
/// <li>`payer_authorisations`</li
/// <li>`payer_authorisations`</li>
/// <li>`payouts`</li>
/// <li>`refunds`</li>
/// <li>`subscriptions`</li>
Expand Down
5 changes: 2 additions & 3 deletions GoCardless/Resources/Payment.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,8 @@ public class Payment
/// A future date on which the payment should be collected. If not
/// specified, the payment will be collected as soon as possible. If the
/// value is before the [mandate](#core-endpoints-mandates)'s
/// `next_possible_charge_date` we will roll it forwards to match. If
/// the value is not a working day it will be rolled forwards to the
/// next available one.
/// `next_possible_charge_date` creation will fail. If the value is not
/// a working day it will be rolled forwards to the next available one.
/// </summary>
[JsonProperty("charge_date")]
public string ChargeDate { get; set; }
Expand Down
6 changes: 6 additions & 0 deletions GoCardless/Resources/PayoutItem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,12 @@ public class PayoutItemLinks
/// </summary>
[JsonProperty("payment")]
public string Payment { get; set; }

/// <summary>
/// Unique identifier, beginning with "RF".
/// </summary>
[JsonProperty("refund")]
public string Refund { get; set; }
}

/// <summary>
Expand Down
4 changes: 2 additions & 2 deletions GoCardless/Services/MandateImportEntryService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ public class MandateImportEntryCustomer

/// <summary>
/// The first line of the customer's address. Required if mandate
/// import scheme is `bacs`.
/// import scheme is either `bacs` or `sepa`.
///
/// </summary>
[JsonProperty("address_line1")]
Expand Down Expand Up @@ -357,7 +357,7 @@ public class MandateImportEntryCustomer

/// <summary>
/// The customer's postal code. Required if mandate import scheme is
/// `bacs`.
/// either `bacs` or `sepa`.
///
/// </summary>
[JsonProperty("postal_code")]
Expand Down
10 changes: 4 additions & 6 deletions GoCardless/Services/PaymentService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -244,9 +244,8 @@ public class PaymentCreateRequest : IHasIdempotencyKey
/// A future date on which the payment should be collected. If not
/// specified, the payment will be collected as soon as possible. If the
/// value is before the [mandate](#core-endpoints-mandates)'s
/// `next_possible_charge_date` we will roll it forwards to match. If
/// the value is not a working day it will be rolled forwards to the
/// next available one.
/// `next_possible_charge_date` creation will fail. If the value is not
/// a working day it will be rolled forwards to the next available one.
/// </summary>
[JsonProperty("charge_date")]
public string ChargeDate { get; set; }
Expand Down Expand Up @@ -681,9 +680,8 @@ public class PaymentRetryRequest
/// A future date on which the payment should be collected. If not
/// specified, the payment will be collected as soon as possible. If the
/// value is before the [mandate](#core-endpoints-mandates)'s
/// `next_possible_charge_date` we will roll it forwards to match. If
/// the value is not a working day it will be rolled forwards to the
/// next available one.
/// `next_possible_charge_date` creation will fail. If the value is not
/// a working day it will be rolled forwards to the next available one.
/// </summary>
[JsonProperty("charge_date")]
public string ChargeDate { get; set; }
Expand Down

0 comments on commit 00b993f

Please sign in to comment.