Make private methods where appropriate.

Validate payment amount not null when saving and processing payment.

Log response status by appropriate severity (info or error).

Provide functional test for credit card payment amount null.
Merge pull request #205 from CruGlobal/EVENT-15

Event 15 - Payment amount cannot be null
update sql2o version number
Merge branch 'master' of http://github.com/CruGlobal/conf-registration-api
Merge pull request #206 from CruGlobal/update-sql2o

Update sql2o
re-added create_crs_db_and_roles.sh/.bat
Merge pull request #208 from CruGlobal/brian-databaseScript

Provide  create_crs_db_and_roles scripts
Add trust commerce dependency.

Add trust commerce request,response fields and values.

Add TrustCommercePaymentProcess to processCreditCardTransaction(...)

Add TrustCommerceException.

Add TrustCommercePaymentProcessTest

Simplify exception handling.

Refactor to more readable enumerated type names

Get non null trust commerce properties

Add PaymentProcess interface and implement in Payment processes.

Refactor conference costs payment gateway credential field names
In preparation for introducing another payment gateway type

Establish PaymentGatewayType

Refactor (in the code) authnetTransactionId to simply transactionId

Change authnet_transaction_id to transaction_id at the database layer.

Add PaymentGateway to Conference and ConferenceCostsEntity

Refactor TrustCommerce processCreditCardTransaction

Add support to TrustCommercePaymentProcess for credit card refund.

Add test of TrustCommercePaymentProcess credit card refund.

Simplify PaymentGatewayType

Add payment gateway type to conference costs table

Add payment gateway type to conference costs service layer

Convert PaymentProcess interface to PaymentProcessDelegator class.

Call new PaymentProcessDelegator with payment gateway type

Eliminate unused parameter from TrustCommercePaymentProcess method signatures.

Delete obsolete Authnet qualifier

Log payment gateway type

If not set, default to authnet gateway payment type
Allows for client side backwards compatibility

Fix query syntax

Register payment gateway type pgobject to enum converter.

Set unittest database builder target to current flyway version.

Add payment gateway type value to conference costs entry

Add support to TrustCommercePaymentProcess for utilizing caller provided account credentials.
Use property defined trust commerce credentials in non production environment.

Add business logic to determine trust commerce account credentials, then provide to trust commerce payment process

Allow UsernamePasswordCredentials to enforce conditions (only requires username be not null)

Provide credentials to trustCommercePaymentProcess methods

Add payment gateway types to conference costs table.

Add trust commerce credit card payment functional test.

Restore database state after trust commerce credit card payment test.

Add trust commerce credit card refund test

Add credit card refund request more than payment test

Convert payment type gateway database and model data type to text and string, respectively

Move scripts.

Add extra exception handling.

Add logging.

Add AUTHORIZE_NET as payment type for all current conference costs entity rows.

Add PaymentProcess interface and implement in Authnet and TrustCommerce payment processes.

Add PaymentProcessProvider

Get PaymentProcess from provider.

Incorporate  trust commerce process signature changes into tests.

Minor refactor of provider instance method name.

Minor refactor of payment process provider method name.
Merge pull request #209 from CruGlobal/feat/EVENT-23

Integrate TrustCommerce Payment Gateway
changing directory name b/c it created annoyances with tab completion
 - trying to do "git add s[tab]" to begin adding src files now required extra keystrokes
Fixing EVENT-33
 - do a null check when looking to see which blocks originally went with a page
Adding lots of javadoc and inline comments
 - refactored methods to proper classes
   - method that converts a `List<Page>` to `List<PageEntity>` moved to `Page`
   - method that converts a `List<Block>` to `List<BlockEntity>` moved to `Block`
   - utilize `List.contains()` to check and see if a `Page` or `Block` is new, instead of `Set` comparisons
FIXME was actually incorrect.

the `PageService` does delete `BlockEntity`s that belong to its `PageEntity` before deleting the `BlockEntity`
Update UpdateConferenceProcess.java

fix typo
Make shell script executable.
Merge pull request #211 from CruGlobal/EVENT-33

Fixing EVENT-33
Use trust commerce property credentials if available.
Use mock trust commerce payment process for unit test.
Refactor property acquisition
Merge pull request #212 from CruGlobal/feat/trust-commerce

Trust commerce unit test and credentials usage