-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
addiotnal mocks for writer and reader
- Loading branch information
Showing
81 changed files
with
704 additions
and
230 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package wire | ||
|
||
// ActualAmountPaid creates a ActualAmountPaid | ||
func mockActualAmountPaid() *ActualAmountPaid { | ||
aap := NewActualAmountPaid() | ||
aap.RemittanceAmount.CurrencyCode = "USD" | ||
aap.RemittanceAmount.Amount = "1234.56" | ||
return aap | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package wire | ||
|
||
// Adjustment creates a Adjustment | ||
func mockAdjustment() *Adjustment { | ||
adj := NewAdjustment() | ||
adj.AdjustmentReasonCode = PricingError | ||
adj.CreditDebitIndicator = CreditIndicator | ||
adj.RemittanceAmount.CurrencyCode = "USD" | ||
adj.RemittanceAmount.Amount = "1234.56" | ||
adj.AdditionalInfo = " Adjustment Additional Information" | ||
return adj | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package wire | ||
|
||
// AmountNegotiatedDiscount creates a AmountNegotiatedDiscount | ||
func mockAmountNegotiatedDiscount() *AmountNegotiatedDiscount { | ||
nd := NewAmountNegotiatedDiscount() | ||
nd.RemittanceAmount.CurrencyCode = "USD" | ||
nd.RemittanceAmount.Amount = "1234.56" | ||
return nd | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,13 @@ | ||
package wire | ||
|
||
// mockBeneficiaryCustomer creates a BeneficiaryCustomer | ||
// mockBeneficiaryCustomer creates a BeneficiaryCustomer | ||
func mockBeneficiaryCustomer() *BeneficiaryCustomer { | ||
bc := NewBeneficiaryCustomer() | ||
bc.CoverPayment.SwiftFieldTag = "" | ||
bc.CoverPayment.SwiftLineOne = "" | ||
bc.CoverPayment.SwiftLineTwo = "" | ||
bc.CoverPayment.SwiftLineThree= "" | ||
bc.CoverPayment.SwiftLineFour = "" | ||
bc.CoverPayment.SwiftLineFive = "" | ||
bc.CoverPayment.SwiftLineSix = "" | ||
bc.CoverPayment.SwiftFieldTag = "Swift Field Tag" | ||
bc.CoverPayment.SwiftLineOne = "Swift Line One" | ||
bc.CoverPayment.SwiftLineTwo = "Swift Line Two" | ||
bc.CoverPayment.SwiftLineThree = "Swift Line Three" | ||
bc.CoverPayment.SwiftLineFour = "Swift Line Four" | ||
bc.CoverPayment.SwiftLineFive = "Swift Line Five" | ||
return bc | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package wire | ||
|
||
// CurrencyInstructedAmount creates a CurrencyInstructedAmount | ||
func mockCurrencyInstructedAmount() *CurrencyInstructedAmount { | ||
cia := NewCurrencyInstructedAmount() | ||
cia.SwiftFieldTag = "Swift Field Tag" | ||
cia.Amount = "1500,49" | ||
|
||
return cia | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package wire | ||
|
||
// DateRemittanceDocument creates a DateRemittanceDocument | ||
func mockDateRemittanceDocument() *DateRemittanceDocument { | ||
drd := NewDateRemittanceDocument() | ||
// ToDo: Use date function | ||
drd.DateRemittanceDocument = "20190415" | ||
return drd | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.