Latitude19 gateway guide

Additional notes
The general_credit operation will use the method refundWithCard provided by Latitude19. This is the method provided by Latitude19 to refund a customer once a transaction has settled and should be used in lieu of refund(credit).

Adding a Latitude19 gateway

To add a Latitude19 gateway:

curl https://core.spreedly.com/v1/gateways.xml \
  -u 'C7cRfNJGODKh4Iu5Ox3PToKjniY:4UIuWybmdythfNGPqAqyQnYha6s451ri0fYAo4p3drZUi7q2Jf4b7HKg8etDtoKJ' \
  -H 'Content-Type: application/xml' \
  -d '<gateway>
        <gateway_type>latitude19</gateway_type>
        <account_number>accountnumber</account_number>
        <configuration_id>configurationid</configuration_id>
        <secret>secrecy</secret>
      </gateway>'
<gateway>
  <token>DU6wc8Iyd0q7Ew1Nmf9THo23qoE</token>
  <gateway_type>latitude19</gateway_type>
  <name>Latitude19</name>
  <description nil="true"/>
  <account_number>accountnumber</account_number>
  <configuration_id>configurationid</configuration_id>
  <characteristics>
    <supports_purchase type="boolean">true</supports_purchase>
    <supports_authorize type="boolean">true</supports_authorize>
    <supports_capture type="boolean">true</supports_capture>
    <supports_credit type="boolean">false</supports_credit>
    <supports_general_credit type="boolean">true</supports_general_credit>
    <supports_void type="boolean">true</supports_void>
    <supports_verify type="boolean">true</supports_verify>
    <supports_reference_purchase type="boolean">false</supports_reference_purchase>
    <supports_purchase_via_preauthorization type="boolean">false</supports_purchase_via_preauthorization>
    <supports_offsite_purchase type="boolean">false</supports_offsite_purchase>
    <supports_offsite_authorize type="boolean">false</supports_offsite_authorize>
    <supports_3dsecure_purchase type="boolean">false</supports_3dsecure_purchase>
    <supports_3dsecure_authorize type="boolean">false</supports_3dsecure_authorize>
    <supports_store type="boolean">true</supports_store>
    <supports_remove type="boolean">false</supports_remove>
    <supports_fraud_review type="boolean">false</supports_fraud_review>
    <supports_disburse type="boolean">false</supports_disburse>
  </characteristics>
  <credentials>
    <credential>
      <name>account_number</name>
      <value>accountnumber</value>
    </credential>
    <credential>
      <name>configuration_id</name>
      <value>configurationid</value>
    </credential>
  </credentials>
  <gateway_specific_fields>
  </gateway_specific_fields>
  <payment_methods>
    <payment_method>credit_card</payment_method>
  </payment_methods>
  <state>retained</state>
  <redacted type="boolean">false</redacted>
  <created_at type="dateTime">2018-06-19T17:07:27Z</created_at>
  <updated_at type="dateTime">2018-06-19T17:07:27Z</updated_at>
</gateway>