Skip to content

Commit

Permalink
refund: Make the inAccount option ommitable from the method
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonycastelli committed Jul 12, 2017
1 parent 86fb0bf commit 7fb5896
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/API/Routes/RefundRoutes.swift
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public final class RefundRoutes {

- returns: A StripeRequest<> item which you can then use to convert to the corresponding node
*/
public func createRefund(charge: String, amount: Int?, reason: RefundReason?, refundApplicationFee: Bool?, reverseTransfer: Bool?, metadata: Node? = nil, inConnectAccount account: String?) throws -> StripeRequest<RefundItem> {
public func createRefund(charge: String, amount: Int?, reason: RefundReason?, refundApplicationFee: Bool?, reverseTransfer: Bool?, metadata: Node? = nil, inConnectAccount account: String? = nil) throws -> StripeRequest<RefundItem> {
var body = Node([:])

body["charge"] = Node(charge)
Expand Down

0 comments on commit 7fb5896

Please sign in to comment.