Sha256: d95c88d79a132502b9933602de7bd7fe3570cc6f8e5e83d80f0e8186523fe2dd
Contents?: true
Size: 1.72 KB
Versions: 2
Compression:
Stored size: 1.72 KB
Contents
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> %checkout - if payment.id.present? %reference= payment.id - if payment.extra_amount.present? %extraAmount= payment.extra_amount - if payment.redirect_url.present? %redirectURL= payment.redirect_url - if payment.max_uses.present? %maxUses= payment.max_uses - if payment. max_age.present? %maxAge= payment.max_age %currency BRL %items - items.each do |item| %item %id= item.id %description&= item.description %amount= item.amount %quantity= item.quantity - if item.shipping_cost.present? %shippingCost= item.shipping_cost - if item.weight.present? %weight= item.weight - if sender.present? %sender - if sender.name.present? %name= sender.name - if sender.email.present? %email= sender.email %phone - if sender.phone_ddd.present? %areaCode= sender.phone_ddd - if sender.phone_number.present? %number= sender.phone_number - if shipping.present? %shipping - if !shipping.type.zero? %type= shipping.type - else %type 3 %address %country BRA - if shipping.state.present? %state= shipping.state - if shipping.city.present? %city= shipping.city - if shipping.postal_code.present? %postalCode= shipping.postal_code - if shipping.district.present? %district= shipping.district - if shipping.street.present? %street= shipping.street - if shipping.number.present? %number= shipping.number - if shipping.complement.present? %complement= shipping.complement
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pag_seguro-0.4.0 | lib/pag_seguro/checkout.xml.haml |
pag_seguro-0.3.2 | lib/pag_seguro/checkout.xml.haml |