anchor.diff:  |getSecondPaymentReferenceId
   |Returns gateway specific second payment id if any
   |getProperties
  -|Returns a https://github.com/killbill/killbill-api/blob/4ae1c343a593de937415e21feecb9f5405037fa3/src/main/java/org/killbill/billing/payment/api/PluginProperty.java[_PluginProperty_] list. This can be used to return arbitrary plugin specific properties. See <<plugin_property_notes, "Plugin Property Notes">> section for more information.
  +|Returns a https://github.com/killbill/killbill-api/blob/4ae1c343a593de937415e21feecb9f5405037fa3/src/main/java/org/killbill/billing/payment/api/PluginProperty.java[_PluginProperty_] list. This can be used to return arbitrary plugin specific properties. See <<plugin_property_notes, Plugin Property Notes>> section for more information.
   |===
   
   [[payment_plugin_status]]
  
positive.code: 
  *Kill Bill* - The Kill Bill system
  
  *Checkout Servlet* - Servlet that initiates setting up the payment method. This is explained in the <<gocardless_checkout_servlet, "GocardlessCheckoutServlet">> section below.
  
  *GoCardless Plugin*:  Payment plugin corresponding to GoCardless that can process payments using the GoCardless system
  
  
negative.code: 
  * The constructor initializes the fields with the values passed in and  creates a GoCardless client.
  
  Within this class, we need to implement the `buildFormDescriptor`, `addPaymentMethod` and `purchasePayment` methods as explained in the <<using_gocardless_from_killbill, Using GoCardless from Kill Bill>> section above. These methods are implemented in the subsequent steps.
  
  [[GoCardlessPaymentTransactionInfoPlugin]]
  ==== Step 3 - Creating GoCardlessPaymentTransactionInfoPlugin
  
  As explained earlier, most of the `PaymentPluginApi` methods return a `PaymentTransactionInfoPlugin` object (Refer to the <<PaymentTransactionInfoPlugin, PaymentTransactionInfoPlugin>> section). Let us take a look at the https://github.com/killbill/killbill-gocardless-example-plugin/blob/9522498ecde5849c940574c598ceb5ce088d32a7/src/main/java/org/killbill/billing/plugin/gocardless/GoCardlessPaymentTransactionInfoPlugin.java[_GoCardlessPaymentTransactionInfoPlugin.java_] class. 
  
  [source,java,linenums]
  ----
  