@@ -209,16 +209,18 @@ class Status(object):
209209 """
210210 Constants representing transaction statuses. Available statuses are:
211211
212+ * braintree.Transaction.Status.AuthorizationExpired
212213 * braintree.Transaction.Status.Authorized
213214 * braintree.Transaction.Status.Authorizing
215+ * braintree.Transaction.Status.SettlementPending
216+ * braintree.Transaction.Status.SettlementDeclined
214217 * braintree.Transaction.Status.Failed
215218 * braintree.Transaction.Status.GatewayRejected
216219 * braintree.Transaction.Status.ProcessorDeclined
217220 * braintree.Transaction.Status.Settled
218- * braintree.Transaction.Status.SettlementFailed
219221 * braintree.Transaction.Status.Settling
220222 * braintree.Transaction.Status.SubmittedForSettlement
221- * braintree.Transaction.Status.Void
223+ * braintree.Transaction.Status.Voided
222224 """
223225
224226 AuthorizationExpired = "authorization_expired"
@@ -235,6 +237,7 @@ class Status(object):
235237 Settling = "settling"
236238 SubmittedForSettlement = "submitted_for_settlement"
237239 Voided = "voided"
240+ # NEXT_MAJOR_VERSION this is never used and should be removed
238241 Unrecognized = "unrecognized"
239242
240243 class Type (object ):
@@ -253,6 +256,14 @@ class IndustryType(object):
253256 TravelAndCruise = "travel_cruise"
254257 TravelAndFlight = "travel_flight"
255258
259+ class AdditionalCharge (object ):
260+ Restaurant = "restaurant"
261+ GiftShop = "gift_shop"
262+ MiniBar = "mini_bar"
263+ Telephone = "telephone"
264+ Laundry = "laundry"
265+ Other = "other"
266+
256267 @staticmethod
257268 def clone_transaction (transaction_id , params ):
258269 return Configuration .gateway ().transaction .clone_transaction (transaction_id , params )
@@ -551,7 +562,9 @@ def create_signature():
551562 "xid" ,
552563 "authentication_response" ,
553564 "directory_response" ,
554- "cavv_algorithm"
565+ "cavv_algorithm" ,
566+ "ds_transaction_id" ,
567+ "three_d_secure_version"
555568 ]
556569 },
557570 {
@@ -617,12 +630,17 @@ def create_signature():
617630 "data" : [
618631 "folio_number" , "check_in_date" , "check_out_date" , "departure_date" , "lodging_check_in_date" , "lodging_check_out_date" , "travel_package" , "lodging_name" , "room_rate" ,
619632 "passenger_first_name" , "passenger_last_name" , "passenger_middle_initial" , "passenger_title" , "issued_date" , "travel_agency_name" , "travel_agency_code" , "ticket_number" ,
620- "issuing_carrier_code" , "customer_code" , "fare_amount" , "fee_amount" , "tax_amount" , "restricted_ticket" ,
633+ "issuing_carrier_code" , "customer_code" , "fare_amount" , "fee_amount" , "room_tax" , " tax_amount" , "restricted_ticket" , "no_show" , "advanced_deposit" , "fire_safe" , "property_phone " ,
621634 {
622635 "legs" : [
623636 "conjunction_ticket" , "exchange_ticket" , "coupon_number" , "service_class" , "carrier_code" , "fare_basis_code" , "flight_number" , "departure_date" , "departure_airport_code" , "departure_time" ,
624637 "arrival_airport_code" , "arrival_time" , "stopover_permitted" , "fare_amount" , "fee_amount" , "tax_amount" , "endorsement_or_restrictions"
625638 ]
639+ },
640+ {
641+ "additional_charges" : [
642+ "kind" , "amount"
643+ ],
626644 }
627645 ]
628646 }
0 commit comments